Example #1
0
 public GlobalMapCanvasController GetGlobalMapCanvasController()
 {
     if (globalMapCanvasController == null)
     {
         globalMapCanvasController = Instantiate(Resources.Load <GameObject>("UIPrefs/globalMapUI"), transform).GetComponent <GlobalMapCanvasController>();
         globalMapCanvasController.SetGlobalMap(GameMaster.realMaster.globalMap);
     }
     return(globalMapCanvasController);
 }
Example #2
0
 public void GameWasReloaded()
 {
     knowledgeTabUI?.RefreshKnowledgeLink();
     globalMapCanvasController?.SetGlobalMap(GameMaster.realMaster.globalMap);
 }