I am working on a script to turn on and off multiple guitexts. It is here:
This works to turn off one of the items with the tag house, but only one. How do I change it to work for all of them?
asked Feb 21 '11 at 09:07 PM
You can use GameObject.FindGameObjectsWithTag to get a list of all of the objects with that tag; then just iterate through the list and do it to each one.
Edit: here's an example.