예제 #1
0
 public void ClearLevel()
 {
     if (!targetGrid)
     {
         Debug.LogError("To init level you need t assing the target gridbase first.");
         return;
     }
     if (!levelManager)
     {
         Debug.LogError("To init level you need t assing the target level maanagewr first.");
         return;
     }
     targetGrid.ClearLevel(true);
     levelHasInited = false;
     editMode       = false;
 }