menu
版本
2017.2.10.6745
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
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
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
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(). 更多...
组合类型 | |
class | BankCallbackPackage |
This class holds the data associated with a bank load or unload callback. 更多... |
|
class | EventCallbackPackage |
This class holds the data associated with an event callback. 更多... |
|
公有成员 | |
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 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().