Skip to main content

SimpleAudioControl

A class in Root.Township, the global namespace.

Plain Wwise playback helper: posts an event on a game object and calls back when it ends. AudioControl builds on it.

Constructors​

MemberWhat it is
SimpleAudioControl()Creates a SimpleAudioControl with default values.

Methods​

MemberWhat it is
virtual void Play(Event soundEvent, AkGameObj akGameObj, Action endAction = null, params ISoundProperty[] soundProperties)Applies the sound properties to the object, posts the Wwise event and calls endAction at end of event.

Used in​

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