I don’t understand how to access the parameters of a gui.textarea. It says there are parameters such as text, position,etc, but if Gui.TextArea returns a string
how do you access the parameters?
For example from the docs:
stringToEdit = GUI.TextArea (Rect (10, 10, 200, 100), stringToEdit, 200);
//stringToEdit= a string.
so you can’t do
stringToEdit.position;
http://unity3d.com/support/documentation/ScriptReference/GUI.TextArea.html
My goal is to resize the textarea depending on how many characters the user types in.
Thanks,
Dan