Answers for "unity c# find objects by tag or script"

8

unity get all by tag

GameObject[] arrayGo = GameObject.FindGameObjectsWithTag("myTag");
Posted by: Guest on June-15-2020
19

find gameobject with tag

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

Browse Popular Code Answers by Language