Copy array elements to another array

I’m trying to store GameObject.FindGameObjectsWithTag into a GameObject array which I then cycle through and do stuff.

I looked around, not a lot of stuff online about copying array values/elements, especially in the context of FindGameObjectsWithTag.

Don’t look at me, I’m leaking with shame!

Literally figured out I could just assign it to an array, the instant I hit the “Create Thread” button.

arrayVariable = GameObject.FindGameObjectsWithTag("tag");

Also consider using Lists instead of arrays, as they are much more flexible and easier to use :slight_smile: