Beispiel #1
0
 public void SetUpDrone(Transform target, float damage, float knockback, AttackDrones owner)
 {
     this.target     = target;
     isActive        = true;
     this.damage     = damage;
     knockBack       = knockback;
     this.owner      = owner;
     owner.Disabled += KillDrone;
     if (aSource)
     {
         aSource.Play();
     }
     StartCoroutine(UpdateDirection());
 }