I get this error when I try and access a array in another Script, It works fine on PC and Mac Stand Alone but i Have trouble with the Android platform. Here is my Code Below Im using Javascript
for (var checkDoor : GameObject in cells*.GetComponent(AIPathCellScript).doors)*
{
if (checkDoor != gameObject)
{
for (var checkCell : GameObject in checkDoor.GetComponent(AIpathDoorScript).imediateC ells)
{
for (var j : int = 0; j <= cells.length - 1; j++)
{
if (cells[j] == checkCell doorsToCells[j] == null)
doorsToCells[j] = stage;
}
}
}
}
}
}
testForCells = false;
}
waitToTestCells -= 1;
}