StopMIDIOnEvent() public static method

public static StopMIDIOnEvent ( ) : AKRESULT
return AKRESULT
Ejemplo n.º 1
0
 /// <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);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Stops all MIDI Events on this Event.
 /// </summary>
 public void StopMIDI()
 {
     if (IsValid())
     {
         AkSoundEngine.StopMIDIOnEvent(Id);
     }
 }
Ejemplo n.º 3
0
 /// <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);
     }
 }