private void OnMouseDown() { if (OnClickSnd.clip == null) { return; } ExtensionAudio.PlayAudioClip(OnClickSnd, transform.position); }
private void OnMouseEnter() { if (OnEnterSnd.clip == null) { return; } ExtensionAudio.PlayAudioClip(OnEnterSnd, transform.position); }
public void OnPointerClick(PointerEventData eventData) { if (!_button.interactable) { return; } ExtensionAudio.PlayAudioClip(clicked, transform.position); SetClip(clicked); }
public void OnPointerClick(PointerEventData eventData) { ExtensionAudio.PlayAudioClip(clicked, transform.position); }