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;
            }
        }
 public virtual void Initialize(AppView view, Application app)
 {
     View = view;
     application = app;
     isOpen = true;
 }
Exemplo n.º 3
0
 protected override void ReleaseReferences()
 {
     views      = null;
     controller = null;
     _instance  = null;
 }