/// <summary> /// Start a battle with enemy character. /// </summary> /// <param name="battler">Character to do battle with.</param> public void StartCharBattle(BattlerController battler) { _state = GameState.Battle; _battleSystem.gameObject.SetActive(true); _worldCamera.gameObject.SetActive(false); _battler = battler; var playerParty = _playerController.GetComponent <MonsterParty>(); var battlerParty = battler.GetComponent <MonsterParty>(); _battleSystem.StartCharBattle(playerParty, battlerParty); }