Exemple #1
0
 public void shoot()
 {
     if (fireAmmunition.gameObject.activeInHierarchy)
     {
         fireAmmunition.FireBullet(3, false);
     }
 }
Exemple #2
0
    private void shoot()
    {
        fireAmmunition.FireBullet(Mathf.Clamp(pressTime, 1, 500));


        fireForceBar.SetBarValue(0);

        downTime  = 0;
        pressTime = 0;
    }