Project_WL/Assets/Script/Util/PlayClickSound_Only.cs

11 lines
302 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using UnityEngine;
using UnityEngine.EventSystems;
public class PlayClickSound_Only : MonoBehaviour, IPointerUpHandler
{
public void OnPointerUp(PointerEventData eventData)
{
2024-12-28 00:20:09 +00:00
if (!DSUtil.CheckNull(SoundInfo.Ins))
SoundInfo.Ins.Play_OneShot(eSound.s003_Click, 0.5f);
2024-12-15 01:39:39 +00:00
}
}