public override void TriggerHeld()
 {
     if (!Fired)
     {
         fireRayCastWeapon.Fire();
         CurrentMagazineRemainder--;
         Debug.Log("Bullets left: " + CurrentMagazineRemainder); //Replace with UI feedback
         Fired = true;
     }
 }
Exemple #2
0
 public override void TriggerHeld()
 {
     if (coolDownTimeLeft <= 0)
     {
         coolDownTimeLeft = FireRate;
         fireRayCastWeapon.Fire();
         CurrentMagazineRemainder--;
         Debug.Log("Bullets left: " + CurrentMagazineRemainder); //Replace with UI feedback
     }
     else
     {
         CoolDown();
     }
 }