Duck() public method

Signals the VM to duck all threads with a higher ducking priority than this one.
public Duck ( ) : void
return void
Ejemplo n.º 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);
 }
Ejemplo n.º 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;
 }