//Set the color of one square
 public void ChangeSquareColor(IntVector2 cellPos, Color color)
 {
     meshRenderersArray[cellPos.x, cellPos.z].material.color = color;
 }
Exemplo n.º 2
0
 public Node()
 {
     this.cellPos = new IntVector2();
     this.carPos  = new Vector3();
 }