|
Hi, How do I find tags in my script? Thank you, koramere
(comments are locked)
|
|
Hi, How do I find tags in my script? Thank you, koramere
(comments are locked)
|
Once you sign in you will be able to subscribe for any updates here
By RSS:The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
Topics:
asked: May 21 '12 at 08:46 PM
Seen: 303 times
Last Updated: May 21 '12 at 08:55 PM
You mean, how to find objects with a tag? If so, you can use FindObjectWithTag and create an array of the objects you've tagged: GameObject[] yourGameObject = GameObject.FindObjectWithTag("TheTag");
I suggest you take a look at this: http://unity3d.com/support/documentation/ScriptReference/GameObject.FindGameObjectsWithTag.html