Ejemplo n.º 1
0
 public void Show()
 {
     if (currentPlayer.HasTimeLeft())
     {
         foreach (GameObject x in currentPosition.GetComponent <Node>().getNeighbours())
         {
             x.GetComponent <MeshRenderer>().enabled = true;
             x.GetComponent <BoxCollider>().enabled  = true;
         }
     }
 }
 public bool HasTimeLeft()
 {
     return(controller.HasTimeLeft());
 }