Skip to main content

ImpactSoundSettings

A class in Root.Township, the global namespace.

Global settings for Wwise impact sounds: the send and receive events, velocity RTPC and material sound map. ImpactSoundManager holds it, but nothing in this server build reads the values.

Constructors​

MemberWhat it is
ImpactSoundSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

5 private and internal fields
MemberWhat it is
private Switch defaultImpactSoundBacking field for DefaultImpactSound: the switch used when a material isn't in the map.
private Event impactReceiveEventBacking field for ImpactRecieveEvent (spelled that way).
private Event impactSendEventBacking field for ImpactSendEvent.
private ImpactSoundMap impactSoundMapBacking field for ImpactSoundMap.
private RTPC impactVelocityRTPCBacking field for ImpactVelocityRTPC, the Wwise parameter for impact speed.

Properties​

MemberWhat it is
Switch DefaultImpactSound { get; }Wwise switch used when no mapped sound fits.
Event ImpactRecieveEvent { get; }Wwise event for the struck side of an impact.
Event ImpactSendEvent { get; }Wwise event for the striking side of an impact.
ImpactSoundMap ImpactSoundMap { get; }Map of impact sounds per material.
RTPC ImpactVelocityRTPC { get; }Wwise RTPC fed with impact velocity.

Used in​

Members of other types that take, return or hold a ImpactSoundSettings: