Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     _damager           = GetComponent <Damager>();
     _attackTimeElapsed = 0.0F;
     _spear             = transform.Find("Spear");
     _damager.DisableDamager();
 }
Ejemplo n.º 2
0
 public void FinishAttack()
 {
     startedAttack       = false;
     performingAttack    = false;
     completedAttack     = false;
     _attackTimeElapsed  = 0.0F;
     _checkpoint1Reached = false;
     _damager.DisableDamager();
 }