Class AircraftSoundManager
Manages aircraft audio output including interior/exterior sound filtering. Applies dynamic audio effects when camera enters/exits the aircraft.
Namespace: NWH.Aerodynamics.AircraftController.Sound
Assembly: NWH.Aerodynamics.dll
Syntax
[Serializable]
[DisallowMultipleComponent]
public class AircraftSoundManager : MonoBehaviour
Fields
| Edit this page View SourceinteriorAttenuation
Sound attenuation inside vehicle.
Declaration
[Tooltip("Sound attenuation inside vehicle.")]
public float interiorAttenuation
Field Value
| Type | Description |
|---|---|
| float |
lowPassFrequency
Frequency at which the volume will begin to be attenuated. Anything below this value will be left at full volume.
Declaration
[Tooltip("Frequency at which the volume will begin to be attenuated. Anything below\r\nthis value will be left at full volume.")]
public float lowPassFrequency
Field Value
| Type | Description |
|---|---|
| float |
lowPassQ
Width of the low pass filter.
Declaration
[Range(0.01, 10)]
[Tooltip("Width of the low pass filter.")]
public float lowPassQ
Field Value
| Type | Description |
|---|---|
| float |
mixer
Mixer through which all the aircraft sounds are passed.
Declaration
[Tooltip("Mixer through which all the aircraft sounds are passed.")]
public AudioMixer mixer
Field Value
| Type | Description |
|---|---|
| AudioMixer |
Methods
| Edit this page View SourceAwake()
Declaration
public void Awake()
SetDefaults()
Declaration
public void SetDefaults()