I am having trouble declaring and using a 2 dimensional array in javascript using unity 3.3
var x2: int[,]; no error but then errors later
var x3:int[5,5]; //error excpecting semicolon at the end.
x2[4][4]=0;
Debug.Log(x2[4][4]); //error BCE0109: Array ‘self.x2’ is rank ‘2’, not rank ‘1’.and
type int does not support slicing.
So many errors? I’m following examples other people have posted about the multidimensional arrays in javascript in 3.2
Any ideas? thanks Dan