Unity OnPointerClick 和 OnMouseDown以及双击实现
简单分析 OnPointerClick 和OnMouseDown实现双击的代码如下using UnityEngine;using UnityEngine.EventSystems;public class TestDemo : MonoBehaviour, IPointerClickHandler{ private float endTime = 0; priv...
原创
2020-04-22 22:43:33 ·
9134 阅读 ·
0 评论