protected override void OnStop() { if (checkCoroutine!=null) { timer.StopCoroutine (checkCoroutine); checkCoroutine = null; } localManager.OnEndStageClient(); panelManager.SetEndPanel(true); }