- Home /
Question by
alex 1 · Feb 20, 2011 at 08:01 PM ·
cameratagtagsfindgameobjectswithtag
Accessing all GameObjects with a certain tag
Hi Guys,
I'm looking to access all game objects with the tag "AmbientControlled" and change a few settings on each one but I want these to be exactly the same. Iv looked around and can't seem to work it!
Can someone point me in the right direction?
Thanks!
Comment
You added the solution in your tags. "FindGameObjectsWithTag". What code do you have that is not working?
Answer by Molix · Feb 20, 2011 at 08:08 PM
Try GameObject.FindGameObjectsWithTag. There is an example in the link.
Your answer
Follow this Question
Related Questions
OnTriggerEnter only if two tags are found? 1 Answer
How to find one object in specific layer? 1 Answer
find tag from raycast 1 Answer
Tag mask dropdown like Layer mask 1 Answer
Undefind tag? 0 Answers