Get value fro othe script

i’ve try to find answer on the forum,but not solved.

i’ve 2 js script

i want to get value froma a.js and set it in b.js

is possible?

i’ve setted vale to public in the a.js

but what is the correct way to read it in b.js?

http://forum.unity3d.com/threads/38755-Noob-question-on-passing-a-variable
http://forum.unity3d.com/threads/38616-How-do-I-access-variables-from-another-script

Thank’s a lot,ive solved :slight_smile: