Пример #1
0
 public void EndDialogue(bool freeRoam, GhostParty ghostParty)
 {
     if (freeRoam)
     {
         state = GameState.FreeRoam;
         playerMove.onEventFalse();
     }
     else
     {
         state = GameState.Battle;
         battleSystem.gameObject.SetActive(true);
         mainCamera.gameObject.SetActive(false);
         playerMove.onEventFalse();
         battleSystem.StartEventBattle(ghostParty);
     }
 }