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;
 }