/// <summary> /// Posts MIDI Events on this Event associated with a GameObject. /// </summary> /// <param name="gameObject">The GameObject</param> /// <param name="array">The array of AkMIDIPost that are posted.</param> /// <param name="count">The number of elements from the array that will be posted.</param> public void PostMIDI(GameObject gameObject, AkMIDIPostArray array, int count) { if (IsValid()) { array.PostOnEvent(GetID(), gameObject, count); } }
/// <summary> /// Posts MIDI Events on this Event associated with a GameObject. /// </summary> /// <param name="gameObject">The GameObject</param> /// <param name="array">The array of AkMIDIPost that are posted.</param> /// <param name="count">The number of elements from the array that will be posted.</param> public void PostMIDI(UnityEngine.GameObject gameObject, AkMIDIPostArray array, int count) { if (IsValid()) { array.PostOnEvent(Id, gameObject, count); } }
/// <summary> /// Posts MIDI Events on this Event associated with a GameObject. /// </summary> /// <param name="gameObject">The GameObject</param> /// <param name="array">The array of AkMIDIPost that are posted.</param> public void PostMIDI(UnityEngine.GameObject gameObject, AkMIDIPostArray array) { if (IsValid()) { array.PostOnEvent(GetID(), gameObject); } }