/// <summary> /// Stops MIDI Events on this Event associated with a GameObject. /// </summary> /// <param name="gameObject">The GameObject</param> public void StopMIDI(UnityEngine.GameObject gameObject) { if (IsValid()) { AkSoundEngine.StopMIDIOnEvent(Id, gameObject); } }
/// <summary> /// Stops all MIDI Events on this Event. /// </summary> public void StopMIDI() { if (IsValid()) { AkSoundEngine.StopMIDIOnEvent(Id); } }
/// <summary> /// Stops MIDI Events on this Event associated with a GameObject. /// </summary> /// <param name="gameObject">The GameObject</param> public void StopMIDI(GameObject gameObject) { if (IsValid()) { AkSoundEngine.StopMIDIOnEvent(GetID(), gameObject); } }