Created
April 18, 2020 19:36
-
-
Save openroomxyz/4e844d5713e0c57244a586bab366a85a to your computer and use it in GitHub Desktop.
Unity : How to find all the object in scene with certain tag?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GameObject[] arrayOfGameObjects = GameObject.FindGameObjectsWithTag("tag that we wish to search for"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment