Пример #1
0
        //游戏全局初始化
        public static void GameGlobalInit()
        {
            if (isInit == true)
            {
                return;
            }

            //创建单例
            GameSetting.CreatInstance();
            GameData.CreatInstance();
            AudioSystem.CreatInstance();

            //
            isInit = true;

            //发布GameAwakeEvent
            GameAwakeEvent();
        }