public uint PostOnEvent(uint in_eventID, ulong in_gameObjectID, uint in_uNumPosts, bool in_bAbsoluteOffsets) { uint ret = AkSoundEnginePINVOKE.CSharp_AkMIDIPost_PostOnEvent__SWIG_1(swigCPtr, in_eventID, in_gameObjectID, in_uNumPosts, in_bAbsoluteOffsets); AkCallbackManager.SetLastAddedPlayingID(ret); return(ret); }
public uint PostOnEvent(uint in_eventID, ulong in_gameObjectID, uint in_uNumPosts, bool in_bAbsoluteOffsets, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_playingID) { in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags); { uint ret = AkSoundEnginePINVOKE.CSharp_AkMIDIPost_PostOnEvent__SWIG_3(swigCPtr, in_eventID, in_gameObjectID, in_uNumPosts, in_bAbsoluteOffsets, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr) 1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_playingID); AkCallbackManager.SetLastAddedPlayingID(ret); return(ret); } }
public uint PostOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, uint in_uNumPosts) { var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID); AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id); uint ret = PostOnEvent(in_eventID, in_gameObjectID_id, in_uNumPosts); AkCallbackManager.SetLastAddedPlayingID(ret); return(ret); }
public uint PostOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, uint in_uNumPosts, bool in_bAbsoluteOffsets, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) { var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID); AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id); uint ret = PostOnEvent(in_eventID, in_gameObjectID_id, in_uNumPosts, in_bAbsoluteOffsets, in_uFlags, in_pfnCallback, in_pCookie); AkCallbackManager.SetLastAddedPlayingID(ret); return(ret); }