Files
BH3/Assets/Scripts/Assembly-CSharp/MoleMole/PressWithSE.cs
2025-08-13 09:26:42 +08:00

16 lines
319 B
C#

using UnityEngine;
using UnityEngine.EventSystems;
namespace MoleMole
{
public class PressWithSE : MonoBehaviour, IPointerDownHandler, IEventSystemHandler
{
public string SEEventName;
public void OnPointerDown(PointerEventData eventData)
{
Singleton<WwiseAudioManager>.Instance.Post(SEEventName);
}
}
}