From Unity Reference :
// This will return the game object named Hand in the scene.
hand = GameObject.Find("Hand");
You must remember that when trying to access objects via script, any inactive GameObjects are not included in the search.
From Unity Reference :
// This will return the game object named Hand in the scene.
hand = GameObject.Find("Hand");
You must remember that when trying to access objects via script, any inactive GameObjects are not included in the search.