web analytics

Tagged: gameobject

0

How To Find Inactive Gameobject in Unity

How to find inactive gameobject in unity: We all are aware of that  GameObject.Find()  doesn’t find inactive gameobjects. Things that can find inactive gameObjects : transform.Find() or transform.FindChild() transform.GetComponentsInChildren<Component>(true) Resources.FindObjectsOfTypeAll<Component>() Transform.Find() or Tranform.FindChild()  ...