void Awake() { _playerHealth.GetComponent <PlayerHealth>(); _enemyAttackAnimation.GetComponent <EnemyAttackAnimation>(); _enemyMovement = GetComponent <EnemyMovement>(); _enemybattleMechanics = GetComponent <EnemyBattleMechanics>(); _spiritBar = GetComponent <SpiritBar>(); CurrentHealth = MaxHealth; IsDead = false; CanSpecial = false; Source = GetComponent <AudioSource>(); }
void Awake() { _playerHealth.GetComponent<PlayerHealth>(); _enemyAttackAnimation.GetComponent<EnemyAttackAnimation>(); _enemyMovement = GetComponent<EnemyMovement>(); _enemybattleMechanics = GetComponent<EnemyBattleMechanics>(); _spiritBar = GetComponent<SpiritBar>(); CurrentHealth = MaxHealth; IsDead = false; CanSpecial = false; Source = GetComponent<AudioSource>(); }