/* ======================================== *\ * GETTERS AND SETTERS * \* ======================================== */ #endregion #region Functions /* ======================================== *\ * FUNCTIONS * \* ======================================== */ private void Start() { for (int i = 0; i < enemyManager.GetEnemies().Count; i++) { enemyManager.GetEnemies()[i].Enemy.CharacterDamage.OnHit += GainExp; } }
public void EndBattle() { inputController.StopInput(); feverTimeManager.ForceStopFever(); partyManager.StopPlayers(); aimReticle.StopAim(); aimReticle.HideAimReticle(); aimReticle.SetTarget(null); //aimReticle.enabled = false; triAttackManager.ForceStopTriAttack(); finalPosition.position = enemyManager.GetEnemies()[0].transform.position; cameraLock.SetState(0); cameraLock.SetFocus(finalPosition); cameraLock.LockOn(false); cameraLock.SetTarget(null); cameraLock.SetIgnoreCommand(true); StartCoroutine(EndBattleCoroutine()); }