Beispiel #1
0
 private void Update()
 {
     if (UIController.GetMenu <StatisticsMenu>().IsOpen)
     {
         if (levelDesigner != null)
         {
             StopAllCoroutines();
             levelDesigner.StopAllCoroutines();
             StartCoroutine(levelDesigner.RemoveLevel());
             Destroy(levelDesigner);
         }
     }
 }