public void Resume() { ResetTime(); IsPaused = false; if (executeEvents) { resumeEvent.Invoke(); } if (executeDelegateActions && PauseAction != null) { PauseAction.Invoke(IsPaused); } }
public void Pause() { if (useTimeScale) { StopTime(); } IsPaused = true; if (executeEvents) { pauseEvent.Invoke(); } if (executeDelegateActions && PauseAction != null) { PauseAction.Invoke(IsPaused); } }
internal void RaisePause(bool pause) { PauseAction?.Invoke(pause); }
public void RaisePause(bool pause) { PauseAction?.Invoke(pause); }
public void OnTransitionPause(Transition p0) { PauseAction?.Invoke(); }