Пример #1
0
        /// <summary>
        /// 析构函数
        /// </summary>
        void OnDestroy()
        {
            //if (NetManager != null) {
            //    NetManager.Unload();
            //}

            //if (LuaManager != null)
            //{
            //    LuaManager.Destroy();
            //}
            base.OnDestroy();
            DownloadHelper.CloseAll();
            Debug.Log("~GameManager was destroyed");
        }