123456789101112131415 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.Events;
- using UnityEngine.EventSystems;
- public class ChineseWordBtn : MonoBehaviour, IPointerDownHandler
- {
- public UnityEvent onClick = new UnityEvent();
- public void OnPointerDown(PointerEventData eventData)
- {
- onClick?.Invoke();
- }
- }
|