Ejemplo n.º 1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Enemy")
     {
         atkMng.Attack();
     }
 }
Ejemplo n.º 2
0
 public void AttackHit()
 {
     if (atkMng == null)
     {
         Debug.LogError(atkMng);
     }
     else
     {
         atkMng.Attack();
     }
 }