Change variable value while running.

Hi, first of all my english is bad but i will try best.

so here is the deal, for example i have one object that is rotating around one axis with speed of 100.
so can someone teach how can i have ingame text area where i can type another number (example 200) and press enter and change the speed to the number i typed in text area

Just make a variable public and you get the access it in editor.
public float speed = 100;
then atach this script to a gameobject
and you should see a speed field
now you can change it during game play :slight_smile: