public static SetLocalOutput ( uint in_uErrorLevel ) : void | ||
in_uErrorLevel | uint | |
return | void |
static public AKRESULT Init(int BufferSize) { m_pNotifMem = (BufferSize > 0) ? Marshal.AllocHGlobal(BufferSize) : IntPtr.Zero; #if UNITY_EDITOR AkCallbackSerializer.SetLocalOutput((uint)AkMonitorErrorLevel.ErrorLevel_All); #endif return(AkCallbackSerializer.Init(m_pNotifMem, (uint)BufferSize)); }
public static void Init(InitializationSettings settings) { IsLoggingEnabled = settings.IsLoggingEnabled; #if UNITY_EDITOR AkCallbackSerializer.SetLocalOutput((uint)AkMonitorErrorLevel.ErrorLevel_All); #endif AkCallbackSerializer.Init(); }
public static AKRESULT Init(InitializationSettings settings) { IsLoggingEnabled = settings.IsLoggingEnabled; m_pNotifMem = settings.BufferSize > 0 ? System.Runtime.InteropServices.Marshal.AllocHGlobal(settings.BufferSize) : System.IntPtr.Zero; #if UNITY_EDITOR AkCallbackSerializer.SetLocalOutput((uint)AkMonitorErrorLevel.ErrorLevel_All); #endif return(AkCallbackSerializer.Init(m_pNotifMem, (uint)settings.BufferSize)); }
public static void SetMonitoringCallback(ErrorLevel in_Level, MonitoringCallback in_CB) { AkCallbackSerializer.SetLocalOutput((uint)in_Level); m_MonitoringCB = in_CB; }
/// Call this to set a function to call whenever Wwise prints a message (warnings or errors). static public void SetMonitoringCallback(AkMonitorErrorLevel in_Level, MonitoringCallback in_CB) { AkCallbackSerializer.SetLocalOutput(in_CB != null ? (uint)in_Level : 0); m_MonitoringCB = in_CB; }