How to I reset script variables in the Unity application?

I just started playing around with Unity, and one thing I noticed is that if the script sets the global variables only the first time it’s run via the play button in Unity. The next time even if I change them it doesn’t matter.

For example if the script contains “var speed = 5;” even if I change this to “var speed = 1;” the value will be 5 the next time I run the scene within Unity (I’m currently scripting only the camera). I can set the value in Start() but I would rather be able to set such constants globally and see their effect.

Is there any way to reset Unity such that it will set these values from scratch instead of using the value I set the first time? Thanks.

Next to the script name, on the right, is a gear icon with a drop-down triangle. Click, choose Reset.