Ejemplo n.º 1
0
 public override void ResetFunctionToDefault()
 {
     soundPlayer   = null;
     loop          = false;
     stopOnRelease = false;
     volume        = 1;
     pitch         = 1;
     audioSource   = null;
 }
Ejemplo n.º 2
0
 public void soundPlayer_Open(string file)
 {
     soundPlayer = new LowLatencySoundPlayer(file, 3);
     audioSource = file;
 }