how to get tag of a gameobject code example
Example 1: find gameobject with tag
GameObject.FindWithTag("Enemy");
Example 2: find gameobject with tag
GameObject.FindGameObjectsWithTag("Enemy");
GameObject.FindWithTag("Enemy");
GameObject.FindGameObjectsWithTag("Enemy");