Пример #1
0
 public void Pause()
 {
     if (_pause)
     {
         PauseSystem.Pause();
         _pause = false;
     }
     else
     {
         PauseSystem.Resume();
         _pause = true;
     }
 }
Пример #2
0
 public void OnPointerDown(PointerEventData eventData)
 {
     PauseSystem.Resume();
 }