Пример #1
0
 public void StopWorking()
 {
     UnityEditor.EditorApplication.quitting -= OnUnityClose;
     if (workTime != null)
     {
         UpdateTimer();
         workTime.StopWork();
         task.AddWorkTime(workTime);
         working  = false;
         workTime = null;
     }
 }