private IEnumerator FireOffShot(GunCrew gCrew, ShotType sType) { if (!gCrew.IsReady) { gCrew.SignalReady(); yield return(new WaitForSeconds(gCrew.ReloadTime)); } this.FireShot(gCrew, sType); }
void FireShot( GunCrew gCrew, ShotType sType ) { gCrew.FireShot( sType ); this.RoundShotsRemaining--; this.OnFiredRoundShot( this ); }
void FireShot(GunCrew gCrew, ShotType sType) { gCrew.FireShot(sType); this.RoundShotsRemaining--; this.OnFiredRoundShot(this); }
private IEnumerator FireOffShot( GunCrew gCrew, ShotType sType ) { if ( !gCrew.IsReady ) { gCrew.SignalReady(); yield return new WaitForSeconds( gCrew.ReloadTime ); } this.FireShot( gCrew, sType ); }