예제 #1
0
        //private DebugView mDebugView;
        //public DebugView DebugView{ get { return mDebugView; }}

        #region MonoBehaviour
        void Awake()
        {
            isRunning = true;
            GameConfig.Load();
            initLogFile();
            //初始化Platform,主要是插件相关
            initGamePlatform();

            ObjPools.Init();

            mCorMgr = GameCoroutineManager.Instance;
            mResMgr = ResManager.Instance;
            mLuaMgr = GameLuaManager.Instance;
            //mUpMgr = GameUpdateManager.Instance;
            mUiMgr = GameUIManager.Instance;
        }
예제 #2
0
        //private DebugView mDebugView;
        //public DebugView DebugView{ get { return mDebugView; }}

        #region MonoBehaviour
        void Awake()
        {
            AppVer = Application.version;

            isRunning = true;
            GameConfig.Load();
            _initLogFile();
            //初始化Platform,主要是插件相关
            _initGamePlatform();

            ObjPools.Init();

            mCorMgr = CoroutineMgr.Instance;
            mResMgr = ResManager.Instance;
            mLuaMgr = LuaMgr.Instance;
            //mUpMgr = GameUpdateManager.Instance;
            mUiMgr = UIMgr.Instance;
        }