public void StopFiringSound(object o = null) { if (FiringEmitter == null) { return; } FiringEmitter.StopSound(false); }
public void StopFiringSound(object o = null) { if (FiringEmitter == null) { return; } if (FiringEmitter.Loop) { FiringEmitter.StopSound(true); } else { FiringEmitter.StopSound(false); } }
public void StopFiringSound(object o = null) { if (FiringEmitter == null) { return; } if (FiringEmitter.Loop) { FiringEmitter.StopSound(true); FiringEmitter.PlaySound(FiringSound, stopPrevious: false, skipIntro: true, force2D: false, alwaysHearOnRealistic: false, skipToEnd: true); } else { FiringEmitter.StopSound(false); } }
public void StopFiringSound(bool force) { FiringEmitter?.StopSound(force); }