Im stuck with this error, please help. Im reading the book “Unity 3d Development by example”
and i cant understand whats wrong.
function Start ()
{
playerCanClick =true;//We should let the player play
//Initialize the arays as empty lists:
aCards= new Array();
aGrid = new Array();
aCardsFlipped =new ArrayList();
for(var i=0; i<rows; i++)
{
aGrid *=new Array(); //Create a new, empty array at index i*
for(var j=0; j<cols; j++)
{
aGrid*[j]=new Card();*
}
}
}
Unity console show that the error is in this line
aGrid*[j]=new Card();*