/** <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; }
/** <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); }
/** <summary> Plays the song. </summary> */ public SongInstance Play(bool looped = false) { soundInstance = new SongInstance(soundEffect.CreateInstance(), this, looped); soundInstance.Play(); return soundInstance; }
/** <summary> Plays the song. </summary> */ public SongInstance Play(bool looped = false) { soundInstance = new SongInstance(soundEffect.CreateInstance(), this, looped); soundInstance.Play(); return(soundInstance); }