Hi
I have 500 quads which I need to add to an aray in a specific order. There is
GameObject[]objects=GameObject.FindGameObjectsWithTag("myTag");
but this doesn’t take into account any sequence.
Can anyone help?
Hi
I have 500 quads which I need to add to an aray in a specific order. There is
GameObject[]objects=GameObject.FindGameObjectsWithTag("myTag");
but this doesn’t take into account any sequence.
Can anyone help?
How do you want to define the order?
I would personally create the objects in order from code.
Otherwise there are various sorting algorithms. The objects need to have some property for you to sort on for this to work.