Ejemplo n.º 1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.tag == ZOMBIE_TAG)
     {
         Zombie zombieComp = other.gameObject.GetComponent <Zombie>();
         zombieComp.BeginAttack();
     }
 }