public async void Initialize() { _songNum = new Random((int)DateTime.Now.Ticks).Next(0, 2) + 1; try { await _contentChest.Preload <Song>($"Music/MenuSong{_songNum}"); } catch (Exception x) { // ignored } }
public override void Initialize() { _contentChest.Preload <SoundEffect>("Sounds/menuHover"); SetupUserInterface(); }