I need some help converting this to C#. This code is from a java sample I found that I want to use. It uses Array which apparently, js doesn’t do but C# does. Anybody able to help me out?
private var tiles : Array;
tiles = new Array();
for (index = 0; index < max_index*max_index ; index ++)
{
tiles.Add(new Array());
}
...
//This is in a different for loop.
tile = new GameObject ("Tile"+index);
tiles[index].Add(tile.GetComponent(MeshFilter).mesh);