U3D 设计一个组件适用于UI中长按按钮和点击按钮
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
namespace GameFramework
{
public class LongPressOrClickEventTrigger : UIBehaviour, IPointerDownHandler, IPointerUpHand...
原创
2019-01-16 14:52:21 ·
373 阅读 ·
1 评论