Exemple #1
0
 void FireWeapon()
 {
     if (fireMech.CooledDown() && ammoSys.CanFire())
     {
         fireMech.Fire();
         ammoSys.Fired();
     }
 }
Exemple #2
0
    void FireWeapon()
    {
        if (fireMech.CooledDown() && ammoSys.CanFire())
        {
            fireMech.Fire();
            ammoSys.Fired();

            if (scopeStatus.Scoped())
            {
                recoil.RecoilScoped();
            }
            else
            {
                recoil.Recoil();
            }
        }
    }