Answers for "unity get tag"

8

unity get all by tag

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

find gameobject with tag

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

get tag unity

gameObject.tag = "Player";
Posted by: Guest on June-23-2021

Browse Popular Code Answers by Language