public void Reset(bool exit = false) { if (null != c) { c.Destroy(); } c = null; if (null != s) { s.Destroy(); } if (exit) { return; } m_state = WorldState.CENTER; m_state_extra = WorldStateExtra.WORLDSTATE_1; TurnCamera(true); s = null; type = (GameMgrType)0; ObjectMgr.Instance.Clear(); player_pool.ClearAndRealloc(); bomb_pool.ClearAndRealloc(); pwr_up_pool.ClearAndRealloc(); if (maps != null) { maps.Clear(); } game_started = false; StopAllCoroutines(); Async.Instance.Restart(); }