menu
Version
2017.2.10.6745
2024.1.5.8803
2023.1.13.8732
2022.1.19.8584
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
menu
2024.1.5.8803
2023.1.13.8732
2022.1.19.8584
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
This class manages the callback queue. All callbacks from the native Wwise SDK go through this queue. The queue needs to be driven by regular calls to PostCallbacks(). This is currently done in AkInitializer.cs, in LateUpdate(). More...
Classes | |
class | BankCallbackPackage |
This class holds the data associated with a bank load or unload callback. More... |
|
class | EventCallbackPackage |
This class holds the data associated with an event callback. More... |
|
Public Member Functions | |
delegate void | EventCallback (object in_cookie, AkCallbackType in_type, AkCallbackInfo in_info) |
Event callback used when posting events. |
|
delegate void | MonitoringCallback (AkMonitorErrorCode in_errorCode, AkMonitorErrorLevel in_errorLevel, uint in_playingID, ulong in_gameObjID, string in_msg) |
Monitoring callback called when Wwise reports errors. |
|
delegate void | BankCallback (uint in_bankID, System.IntPtr in_InMemoryBankPtr, AKRESULT in_eLoadResult, uint in_memPoolId, object in_Cookie) |
Bank callback called upon bank load and unload and when errors occur. |
|
Static Public Member Functions | |
static void | SetMonitoringCallback (AkMonitorErrorLevel in_Level, MonitoringCallback in_CB) |
Call this to set a function to call whenever Wwise prints a message (warnings or errors). |
|
static void | SetBGMCallback (BGMCallback in_CB, object in_cookie) |
Call this to set a background music callback function. By default this callback is not defined. |
|
static int | PostCallbacks () |
This class manages the callback queue. All callbacks from the native Wwise SDK go through this queue. The queue needs to be driven by regular calls to PostCallbacks(). This is currently done in AkInitializer.cs, in LateUpdate().
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise