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

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