static AkWaapiClient() { try { AkWaapiClient_PINVOKE.SetWampEventCallback(InternalWampEventCallback); UnityEditor.EditorApplication.update += ProcessCallbacks; } catch { } }
static AkWaapiClient() { UnityEditor.EditorApplication.update += ProcessCallbacks; AkWaapiClient_PINVOKE.SetWampEventCallback(InternalWampEventCallback); UnityEditor.Compilation.CompilationPipeline.assemblyCompilationStarted += CompileStarted; }
private static void CompileFinished(string s, UnityEditor.Compilation.CompilerMessage[] message) { AkWaapiClient_PINVOKE.SetWampEventCallback(InternalWampEventCallback); }