コード例 #1
0
 public void ShowDetails()
 {
     foreach (GameObject cell in CellGrid.Instance.GridCells)
     {
         CellInterface _interface = cell.GetComponent <CellInterface>();
         if (_interface.CurrentTextState != CellInterface.TextState.Changes)
         {
             _interface.ChangeCellDisplay(CellInterface.InterfaceState.White);
             _interface.ChangeCellText(CellInterface.TextState.White);
         }
     }
 }
コード例 #2
0
 public void ProjectPlacement()
 {
     CurrentState = HeatmapState.ProjectPlacement;
     _interface.ChangeCellText(CellInterface.TextState.Changes);
     _interface.ChangeCellDisplay(CellInterface.InterfaceState.White);
 }