public static GameObject Find(GameObject.Name theName) { GameObjectManager pMan = GameObjectManager.pActiveManager; Debug.Assert(pMan != null); // set common compare node, static object ref pMan.poNodeCompare.poGameObj.SetName(theName); //find and return ref GameObjectNode pNode = (GameObjectNode)pMan.baseFind(pMan.poNodeCompare); Debug.Assert(pNode != null); return(pNode.poGameObj); }