public void Pause() { if (null != scenarioItem) { scenarioItem.Pause(); } }
public void Pause() { isPaused = true; syncScenarioItem.Pause(); if (playCoroutine != null) { SyncCode.Instance.StopCoroutine(playCoroutine); playCoroutine = null; } }