Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1.     public string stringToEdit = "Write Here2";
  2.  
  3.     void OnGUI()
  4.     {
  5.         // Make a text field that modifies stringToEdit.
  6.         stringToEdit = GUI.TextField(new Rect(10, 10, 200, 20), stringToEdit, 25);
  7.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement