Answers for "search for object by tag"

12

unity find objects with tag

//Find a single game object
GameObject.FindWithTag("TagName");

//Find multiple game objects from tag 
GameObject.FindGameObjectsWithTag("TagName");
Posted by: Guest on October-13-2020
19

find gameobject with tag

GameObject.FindWithTag("Enemy");
Posted by: Guest on January-25-2020

Code answers related to "search for object by tag"

Browse Popular Code Answers by Language