Esempio n. 1
0
 protected bool CanFire()
 {
     //Debug.Log(clipAmmo);
     if ((Time.time >= (1 / fireRate + firingStart)) && weaponData.GetClipAmmo() > 0 && !isReloading)
     {
         return(true);
     }
     return(false);
 }