Hello everyone.
I am doing some experiments with array’s (since i am not an ace programmer)
I have made an array out of gameObjects with the code
public GameObject[]arrayOfGameObjects;
arrayOfGameObjects = GameObject.FindGameObjectsWithTag("Brokje");
This will fill the arrayOfGameObjects with all the G-objects named “Brokje”:
However. it does this in a seemingly random way.
for example it is not following the stacklist in unity (the order in unity interface)
and since they all have the same name, this also doens’t determine the order.
So here is my question.
Is there a way so i can dictate/control which objects are added to the array first?
Thanks in advance
III