摘要:
void Update() { if (Input.touchCount > 0)//手指数量 { if(Input.GetTouch(0).phase == TouchPhase.Began && Input.GetTouch(0).tapCount == 2)//Input.GetTouch(0 阅读全文
posted @ 2017-08-11 13:15
IT_yanghui
阅读(806)
评论(0)
推荐(0)
摘要:
void OnGUI()//实现鼠标双击 { Event Mouse = Event.current; if (Mouse.isMouse && Mouse.type == EventType.MouseDown && Mouse.clickCount == 2) { print("Double C 阅读全文
posted @ 2017-08-11 12:02
IT_yanghui
阅读(412)
评论(1)
推荐(0)

浙公网安备 33010602011771号