get object in scene unity code example
Example 1: unity get object by name
function Update() { var enemy : GameObject = GameObject.Find("enemy"); //perform operations on enemy here}
Example 2: finding object trough scripts c#
hand = GameObject.Find("Hand");