Version

menu_open
Wwise Unity Integration Documentation

◆ TogglePlayEvent()

static void AkWaapiUtilities.TogglePlayEvent ( WwiseObjectType  objectType,
System.Guid  guid 
)
inlinestatic

Play or pause an object in Wwise authoring. Creates a WaapiCommand object containing a lambda call to TogglePlayEventAsync and adds it to the waapiCommandQueue. /summary>

Parameters
objectTypeUsed to check whether the object is playable.
guidGUID of the object to be played.

References IsPlayable().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise