↧
Answer by robertbu
Transforms[0] = GameObject.Find("anything").transform; Your question is confusing. You can execute the line you specify using 'Player' as long as a game object with the name 'Player' exists at the time...
View ArticleAnswer by MajorParts
This is the syntax I was after... GameObject temp = GameObject.Find ("playerSHIP(Clone)/localSHIP"); GameObject.Find("RadarMgr").GetComponent().Transforms[0] = temp.transform;
View Article