using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems;//对添加这个脚本的对象添加EventTrigger组件 [RequireComponent(typeof(UnityEngine.EventSystems.EventTrigger))] public class BtnPointClick : MonoBehaviour {Button btn;EventTrigger.Entry beginClick;EventTrigger.Entry pointClick;EventTrigger.Entry endClick;EventTrigger eventTrigger;void Awake(){btn = this.GetComponent