Hello guys,
I have a question regarding built-in arrays, what i am trying to achieve here is i have 1000 objects in a scene and i am adding all of them in an array variable (VoxelObjects) as gameobject in a global variable. In a Game manager FSM i am picking a random item from the array variable (VoxelObjects) but there are repeatable objects the action is picking up even if i select no repeat option.
i want to change color of all objects one by one but randomly and once all 1000 objects done i want to send the state to an empty so it wont loop.
i would appreciate any solution or guidance
Thanks in Advance.