public void play(loopMode loop = loopMode.noLoop, bool paused = false) { eInstance instance = prePlay(); instance.addToGroup(this.engine.defaultMusicGroup); instance.is3d = false; instance.setLoop(loop); instance.paused = paused; }
public eInstance play(float pan = 0, loopMode loop = loopMode.noLoop, bool paused = false) { eInstance instance = prePlay(); instance.pan = pan; instance.addToGroup(this.engine.default2dGroup); instance.is3d = false; instance.setLoop(loop); instance.paused = paused; return(instance); }