mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 16:34:41 +01:00
16 lines
319 B
C#
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);
|
|
}
|
|
}
|
|
}
|