Exemplo n.º 1
0
 void Awake()
 {
     _enemyHealth = GetComponent <EnemyHealth>();
     _spiritBar   = GetComponent <SpiritBar>();
     //_arenaManager.GetComponent<ArenaManager>();
     _EnemyAttackAnimation.GetComponent <EnemyAttackAnimation>();
     _DefendAnimation.GetComponent <DefendAnimation>();
 }
Exemplo n.º 2
0
 void Awake()
 {
     Source        = GetComponent <AudioSource>();
     _playerHealth = GetComponent <PlayerHealth>();
     _spiritBar    = GetComponent <SpiritBar>();
     _AttackAnimation.GetComponent <AttackAnimation>();
     _DefendAnimation.GetComponent <DefendAnimation>();
 }