Project_WL/Assets/Script/Util/PlayClickSound_Only.cs

12 lines
312 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class PlayClickSound_Only : MonoBehaviour, IPointerUpHandler
{
public void OnPointerUp(PointerEventData eventData)
{
SoundInfo.Ins.Play_OneShot(eSound.s003_Click, 0.5f);
}
}