I’m trying to see and edit a 2D Array in a Custom Editor Script Field.
I use a multidimensional array with a 40x40 length. I’m using this Array to store the state of the world and control the player’s movements.
On a single scene there are different maps next to each other to make a route, each of them is made by 40x40 tiles.
I would like to set in the inspector of these maps a different multidimensional Array, so when the player change map, the Array assume the new values by taking them directly from the inspector.
Something like this:
A big field where to insert a big array like:
{{00,00,00,00,01,00,00,00,00},
{00,00,00,00,01,00,00,00,00},
{00,00,00,00,01,00,00,00,00},
{00,00,00,00,01,01,00,00,00},
{00,00,00,01,01,01,00,00,00}} etc.
I’m having tons of troubles to show a simplce 2DArray in the inspector. How can I solve?

