is there any way to read the value from other script;
this is the idea .
example :
Script_1.js
var Age = 25;
Script_2.js
var OtherScript : MonoScript;
function Start()
{
OtherScript = GetComponent("Script_1"); // I need the script's name to be string
print( OtherScript.Age );
}
Note : both Script_1.js & Script_2.js connected the the same object .