public void PlayMenuSFX(MenuSFX soundEffect, string sourceName = "Global") { if (DoesSFXSourceExist(sourceName)) { m_SFXSources[sourceName].PlayOneShot(m_MenuSoundEffectClips[(int)soundEffect]); } }
public void PlayMenuSoundEffect(MenuSFX _sfx) { if (m_MenuTracks == null) { return; } LoadTracksToLists(); m_MenuTracks[(int)_sfx].Stop(); m_MenuTracks[(int)_sfx].Play(); }
public void PlayMenuSoundEffect(MenuSFX _sfx) { if (m_MenuTracks == null) return; LoadTracksToLists(); m_MenuTracks[(int) _sfx].Stop(); m_MenuTracks[(int) _sfx].Play(); }
public void PlayMenuSFX(MenuSFX sound) { EffectsTrack.PlayOneShot(MenuSounds[(int)sound], _effectsVolume); }