I want to get a collection (List or GameObject[]... whatever I can iterate through) of the children inside a specific GameObject with a Tag assigned to them. But I'm only able to run FindGameObjectsWithTag in a global scope... grabbing all GO's with the desired Tag string.
// What the documentation and examples out there says:
GameObject[] actors= GameObject.FindGameObjectsWithTag("Actor");
// What I would like to be able to do:
GameObject[] actors= actorsHolder.FindGameObjectsWithTag("Actor");
Thanks in advance people.
Peace out!
↧