Пример #1
0
        public override void OnInit(ProcedureOwner procedureOwner)
        {
            ////////添加组件的顺序
            GameMainEntry.GetModule <LogManager>();
            GameMainEntry.GetModule <NetWorkManager>();
            ///

            GameMainEntry.Init();
        }
Пример #2
0
        public override void OnInit(ProcedureOwner procedureOwner)
        {
            ////////添加组件的顺序
            ProcedureManagerComponent.Instance.enabled = true;
            SettingComponent.Instance.enabled          = true;
            LogManagerComponent.Instance.enabled       = true;
            ResourcesManagerComponent.Instance.enabled = true;
            DataNodeComponent.Instance.enabled         = true;
            TableManagerComponent.Instance.enabled     = true;
            QualityManagerComponent.Instance.enabled   = true;
            SceneManagerComponent.Instance.enabled     = true;
            SceneManagerComponent.Instance.enabled     = true;
            RecordManagerCoponent.Instance.enabled     = true; //存档
            InputManagerComponent.Instance.enabled     = true; //输入
            SoundManagerComponent.Instance.enabled     = true; //音效
            ///

            UIManagerComponent.Instance.Init();
            //////////////////////////////////////////////////////////////////////////

            ResourcesManagerComponent.Instance.ResourcesManagerMoudle.Asset_Mode = GameMainEntry.GameMainEntryComponent.Asset_Mode;
            //////////////////////////////////////////////////////////////////////////
            GameMainEntry.Init();
        }