public void Restart() { if (null != GDSMgr) { GDSMgr.DestroyGDS(); GDSMgr = null; } if (null != LanguageMgr) { LanguageMgr.Destroy(); LanguageMgr = null; } if (null != ProxyMgr) { ProxyMgr.Destroy(); ProxyMgr = null; } EventMgr.Destroy(); SceneMgr.Destroy(); StateMgr.Destroy(); PlatformMgr.Destroy(); ResMgr.Destroy(); GameSceneMgr.Destroy(); Instance = null; GameObject.Destroy(gameObject); SceneMgr.EnterScene("Lancher", null); EffectManager.Instance.ClearAllEffect(); }