public void SetWin() { if (CurrentSong.Equals("WIN")) { return; } if (Song != null) { Song.Stop(); } CurrentSong = "WIN"; Song = Win.CreateInstance(); Song.IsLooped = false; if (!IsMuted) { Song.Play(); } }
public void SetWin() { if (CurrentSong.Equals("WIN")) { return; } if (Song != null) { Song.Stop(); } CurrentSong = "WIN"; Song = Win.CreateInstance(); Song.IsLooped = false; if (!IsMuted) { Song.Play(); } }