unity get gameobject tag code example Example 1: find gameobject with tag GameObject.FindGameObjectsWithTag("Enemy"); Example 2: unity check tag gameObject.tag