I’m trying to create a randomly generated grid of 2D tiles and save it in an array.
My plan is to make an array where each index represents a tile.
Each index should have a struct containing the X location, the Y location and an ID number for the tile.
Since this is happening during runtime, how do I create this structure inside an array via events?