search for object with tag unity code example
Example: unity find objects with tag
//Find a single game object
GameObject.FindWithTag("TagName");
//Find multiple game objects from tag
GameObject.FindGameObjectsWithTag("TagName");
//Find a single game object
GameObject.FindWithTag("TagName");
//Find multiple game objects from tag
GameObject.FindGameObjectsWithTag("TagName");