Hi,
I have a question I have a list of gameobjects like cube 1, cube 2, cube 3, cube 4 all deactivated. When you press a button, i want to be able to activate cube 1 only, then when you press the same button, deactivate cube 1 and activate cube 2; and so on.
How would I go about doing that because I have no idea.
what I have so far is, I was able to add all the objects to an array then loop them to activate cube 1 only and so forth. The issue is, it doesn't deactivate the others. I would really appreciate the help.