Hi,
So far, to loop through a big number of children GameObjects (possibly thousands), I'm using the Get Next Child action.
In short, I get one of them, I do a check on it, if the check is positive I add the GameObject to an array, repeat.
The problem is that doing this on many children creates a huge halt in game processing (like 500ms) and triggers a 120MB garbage collector activity.
Is there a "correct" way to this, without this big penalty?
NOTE: Once they are in the array, processing them does not cause the penalty. It's the Get Next Child, Get Tag, Add To Array cycle that causes this.