Beispiel #1
0
 public void GameStartInit()
 {
     //var bottomBar = (UI_BloodgateBottomBar)uiBloodgateBase.GetType().GetField("_BottomBar", flags).GetValue(uiBloodgateBase);
     //chat = (BloodGUI.Bloodgate.UI_BloodgateChatBindings)bottomBar.GetType().GetField("_ChatBindings", flags).GetValue(bottomBar);
     prefabInstance = (PrefabInstanceSystem)ViewSystems.GetField("PrefabInstance");
     //prefabStates = (List<PrefabInstanceSystem.PrefabInstanceState>)Loader.Controller.prefabInstance.GetField("_PrefabStates");
 }
Beispiel #2
0
    private void Awake()
    {
        var contexts = Contexts.sharedInstance;

        var menuManager = new MenuManager(contexts);

        _globalConfig.Initialize(contexts);
        _hudController.Initialize(contexts);

        _rootSystems = new RootSystems(contexts);
        _viewSystems = new ViewSystems(contexts);

        _rootSystems.Initialize();
        _viewSystems.Initialize();
    }