public void PlaySound(Enum.BGMScene sound, Enum.BGMScene endToBGM) { _bgmView.PlaySound(_bgmModel.GetSceneBGM(sound)); _bgmView.OnCompleteSound.Subscribe(_ => { _bgmView.PlayLoopBGM(_bgmModel.GetSceneBGM(endToBGM)); }); }
public AudioClip GetSceneBGM(Enum.BGMScene scene) { return(_bgmDictionary[scene].AudioFile); }
public void ChangeBGM(Enum.BGMScene scene) { _bgmView.PlayLoopBGM(_bgmModel.GetSceneBGM(scene)); }