Beispiel #1
0
 public void doActionADD(unitHitbox attacker, unitHitbox target, damageHitbox dhb)
 {
     unitCount++;
     if (unitCount >= maxUnit && isActive && maxUnit != 0)
     {
         speed = 0;
         damageHitbox.deActiveHitbox();
         Debug.Log("Destroy Arrow");
         damageHitbox.setDestroy();
     }
 }