Ejemplo n.º 1
0
 /** <summary> Plays the song. </summary> */
 public SongInstance Play(bool looped, float volume, float pitch = 0.0f, float pan = 0.0f)
 {
     soundInstance = new SongInstance(soundEffect.CreateInstance(), this, looped, volume, pitch, pan);
     soundInstance.Play();
     return soundInstance;
 }
Ejemplo n.º 2
0
 /** <summary> Plays the song. </summary> */
 public SongInstance Play(bool looped, float volume, float pitch = 0.0f, float pan = 0.0f)
 {
     soundInstance = new SongInstance(soundEffect.CreateInstance(), this, looped, volume, pitch, pan);
     soundInstance.Play();
     return(soundInstance);
 }
Ejemplo n.º 3
0
 /** <summary> Plays the song. </summary> */
 public SongInstance Play(bool looped = false)
 {
     soundInstance = new SongInstance(soundEffect.CreateInstance(), this, looped);
     soundInstance.Play();
     return soundInstance;
 }
Ejemplo n.º 4
0
 /** <summary> Plays the song. </summary> */
 public SongInstance Play(bool looped = false)
 {
     soundInstance = new SongInstance(soundEffect.CreateInstance(), this, looped);
     soundInstance.Play();
     return(soundInstance);
 }