Hello.
How do I make a textbox which contain number with decimals, to be a variable
For exampel, if i have a
var U : double;
And then a Textboxdefine U number.
How do i make that
Hello.
How do I make a textbox which contain number with decimals, to be a variable
For exampel, if i have a
var U : double;
And then a Textboxdefine U number.
How do i make that
http://docs.unity3d.com/Documentation/ScriptReference/GUI.TextField.html
You may have to save it as a string first then convert, but figured this would be a start.
Also
http://answers.unity3d.com/questions/40103/text-field-inputting-numbers-only.html
Google is your friend ![]()