Skip to main content

AmbienceManager

A class in Root.Township, the global namespace.

Singleton holding the Wwise RTPC used for ambience volume. Get it with SingletonBehaviour<AmbienceManager>.Instance; AmbienceAudio reads it.

Constructors​

MemberWhat it is
AmbienceManager()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private RTPC volumeRTPCBacking field for VolumeRTPC.

Properties​

MemberWhat it is
RTPC VolumeRTPC { get; }The ambience volume RTPC that AmbienceAudio prepares and sets.