void OnDestroy() { if (m_ObjRootTran) { UnityEngine.Object.Destroy(m_ObjRootTran.gameObject); m_ObjRootTran = null; } ConnectionMgr.instance.Close(); ms_luaMgr.Destroy(); ms_resourceMgr.Destroy(); }
void OnDestroy() { if (m_ObjRootTran) { UnityEngine.Object.Destroy(m_ObjRootTran.gameObject); m_ObjRootTran = null; } ConnectionMgr.instance.Close(); ms_luaMgr.Destroy(); ms_resourceMgr.Destroy(); }