void PlayeSe(SoundPlayMode playMode, AudioClip clip) { if (Selectable == null) { return; } if (!Selectable.interactable) { return; } if (clip != null) { SoundManager soundManager = SoundManager.GetInstance(); if (soundManager) { soundManager.PlaySe(clip, clip.name, playMode); } else { AudioSource.PlayClipAtPoint(clip, Vector3.zero); } } }
private void PlayeSe(SoundPlayMode playMode, AudioClip clip) { if (((this.Selectable != null) && this.Selectable.get_interactable()) && (clip != null)) { SoundManager instance = SoundManager.GetInstance(); if (instance != null) { instance.PlaySe(clip, clip.get_name(), playMode, false); } else { AudioSource.PlayClipAtPoint(clip, Vector3.get_zero()); } } }
void PlaySe(SoundPlayMode mode, AudioClip clip) { if (clip != null) { SoundManager soundManager = SoundManager.GetInstance(); if (soundManager) { soundManager.PlaySe(clip, clip.name, mode); } else { AudioSource.PlayClipAtPoint(clip, Vector3.zero); } } }