public override void Create() { for (int y = 0; y < Size.y; y++) { for (int x = 0; x < Size.x; x++) { GameObject newC = cubeFactory.GetCubeBy(CubeType.Ether, transform); newC.transform.localPosition = new Vector3(x, 0, y) - CentreOffset; cubeMap.Add(newC); } } }