How I do Initialize this:
public const int[][,] Map = ...
I would like to do something like this:
public const int[][,] Map = {
{ // Map 1
{1, 1, 1, 1},
{1, 1, 1, 1},
{1, 1, 1, 1},
{1, 1, 1, 1},
},
{ // Map 2
{1, 1, 1, 1},
{1, 0, 0, 1},
{1, 0, 0, 1},
{1, 1, 1, 1},
},
// etc.
};
I don't want to create an int[,,] Map
, because somewhere else I want to do:
loader.Load(Map[map_numer]); // Load method recieve an int[,]