unity find all gameobject in scene code example Example: get all the game objects in a scene unity Resources.FindObjectsOfTypeAll(typeof(urFavClass));