public void Pause() { if (OnPauseAction != null) { OnPauseAction.Invoke(); } }
public void PauseAction() { OnPauseAction?.Invoke(); }