/// <summary> /// Plays a random clip from a /// </summary> /// <param name="bgmGroup"></param> public void Play(BGMGroup bgmGroup) { if (!bgmGroup) { return; } _group = bgmGroup; Play(bgmGroup.GetRandom()); }
/// <summary> Plays a random clip from a </summary> /// <param name="bgmGroup"> </param> public void Play(BGMGroup bgmGroup) { if (!bgmGroup) { _musicSource.Stop(); return; } _group = bgmGroup; Play(bgmGroup.GetRandom()); }