Пример #1
0
 void ClearLevel(int level)
 {
     Clearing = true;
     for (int x = 0; x < GridX; x++)
     {
         for (int z = 0; z < GridZ; z++)
         {
             TileLogic CurrentTileController = TileLiterals[x, level, z].GetComponent(typeof(TileLogic)) as TileLogic;
             CurrentTileController.Clear(ClearTime);
         }
     }
     ClearingLevels[level] = true;
 }