how i can use vars of a script in other script? Thanks.
This page:
http://unity3d.com/support/documentation/ScriptReference/index.Accessing_Other_Components.html
tells you how you can access one script from another. Once you have a reference to a script, you can access variables it contains using the regular dot notation, like someScript.DoSomething ();
I recommend looking at this page:
http://unity3d.com/support/documentation/ScriptReference/index.Accessing_Other_Game_Objects.html
Unity has a ton of helpful documentation. Don’t be afraid to check it out!