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