Skip to content

Instantly share code, notes, and snippets.

@openroomxyz
Created April 18, 2020 19:36
Show Gist options
  • Select an option

  • Save openroomxyz/4e844d5713e0c57244a586bab366a85a to your computer and use it in GitHub Desktop.

Select an option

Save openroomxyz/4e844d5713e0c57244a586bab366a85a to your computer and use it in GitHub Desktop.
Unity : How to find all the object in scene with certain tag?
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