Hi, i have 2D Integer array and try to fill this Array with random Numbers.
for (int row = 0; row < mapRow; row++){
for (int column = 0; column < mapColumn; column++)
{
levelMap[row, column] = Random.Range[0,9];
Debug.Log("Number " + levelMap[row, column]);
}
}
I get these directly from a tutorial but, it give me an Error i dont understand.
error CS0021: Cannot apply indexing with [ ] to an expression of type ‘method group’
as i know Random give back float or int, but also if i change may array to float, it gave me the same fail.