private void Stop() { m_timerOn = false; if (m_coroutineChain != null) { m_coroutineChain.StopCoroutine(); m_coroutineChain = null; } }
private void OnDestroy() { if (m_coroutineChain != null) { m_coroutineChain.StopCoroutine(); m_coroutineChain = null; } }