public void StopMusic() { player.InterruptSound(musicCurrentlyPlaying); musicCurrentlyPlaying = ""; }
public void PlayMusic(string music) { player.InterruptSound(currentlyPlayedMusic); player.PlayMusic(music); currentlyPlayedMusic = music; }