コード例 #1
0
        private void OnLoadSceneComplete(SceneName sceneName)
        {
            views       = AppScene.appView;
            controllers = AppScene.appController;
            Initialize();
            StartApp();

            switch (sceneName)
            {
            case SceneName.Main:
                GetSystem <HistorySystem>().Generate();
                GetSystem <MissionsSystem>().Generate();
                break;
            }
        }
コード例 #2
0
 public virtual void Initialize(AppController controller, Application app)
 {
     this.Controller  = controller;
     this.application = app;
     IsInitialized    = true;
 }
コード例 #3
0
 protected override void ReleaseReferences()
 {
     views      = null;
     controller = null;
     _instance  = null;
 }