public override void OnPointerClick(PointerEventData eventData)
 {
     base.OnPointerClick(eventData);
     SceneLoader.loadGameFromSave = true;
     SceneLoader.saveNameToLoad   = saveName;
     MainMenuUiController.GetController <MainMenuUiController>(CoreContext.Menu).SwitchContext(MainMenuContext.Start);
 }
Exemple #2
0
 public override void OnPointerClick(PointerEventData eventData)
 {
     base.OnPointerClick(eventData);
     if (contextToSet == MainMenuContext.Start)
     {
         SceneLoader.loadGameFromSave = false;
     }
     MainMenuUiController.GetController <MainMenuUiController>(CoreContext.Menu).SwitchContext(contextToSet);
 }