unity find script on object with tag 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");