Duck() public méthode

Signals the VM to duck all threads with a higher ducking priority than this one.
public Duck ( ) : void
Résultat void
Exemple #1
0
 /// <summary>
 /// Ducks all audio with priority lower than this.
 /// Imagine all the other sounds getting quieter when the fire music plays.
 /// </summary>
 public static HITResult Duck(HITThread thread)
 {
     thread.Duck();
     return(HITResult.CONTINUE);
 }
Exemple #2
0
 /// <summary>
 /// Ducks all audio with priority lower than this. 
 /// Imagine all the other sounds getting quieter when the fire music plays.
 /// </summary>
 public static HITResult Duck(HITThread thread)
 {
     thread.Duck();
     return HITResult.CONTINUE;
 }