/// <summary> /// Initialize the game objects. /// </summary> private void InitGameObjects() { UIFactory.LoadEventSystem(gameObject); State = gameObject.AddComponent <GameStateMachine>(); var ui = UIFactory.LoadUICanvas(gameObject); UI = GameDataLoader <UIData> .SetGameData <UIManager>(ui, UIConfig); var campus = UIFactory.GenerateEmpty("Campus", transform); Campus = GameDataLoader <CampusData> .SetGameData <CampusManager>(campus, CampusConfig); TooltipManager.Initialize(ui.gameObject.transform); }