当前位置:网站首页>【Cocos Creator 3.5.1】event. Use of getbutton()
【Cocos Creator 3.5.1】event. Use of getbutton()
2022-06-27 05:44:00 【CN-Dust】
Usage mode :
private onMouseUp(event: EventMouse) {
if (event.getButton() === 0) {
this.jumpByStep(1);
} else if (event.getButton() === 2) {
this.jumpByStep(2);
}
}
describe
(method) EventMouse.getButton(): number
@en — Returns mouse button code.
@zh — Get mouse button .
边栏推荐
- Execution rules of pytest framework
- Logu p4683 [ioi2008] type printer problem solving
- 洛谷P4683 [IOI2008] Type Printer 题解
- Open the door small example to learn ten use case diagrams
- Redis high availability cluster (sentry, cluster)
- Asp.Net Core6 WebSocket 简单案例
- Redis4.0新特性-主动内存碎片整理
- How pychart installs packages
- LeetCode-515. Find the maximum value in each tree row
- STM32 reads IO high and low level status
猜你喜欢

30 SCM common problems and solutions!

Reading graph augmentations to learn graph representations (lg2ar)

30个单片机常见问题及解决办法!
![[622. design cycle queue]](/img/f2/d499ac9ddc50b73f8c83e8b6af2483.png)
[622. design cycle queue]

Redis high availability cluster (sentry, cluster)

双位置继电器RXMVB2 R251 204 110DC
![[nips 2017] pointnet++: deep feature learning of point set in metric space](/img/3e/0a47eecc27f236d629c611e683b37a.png)
[nips 2017] pointnet++: deep feature learning of point set in metric space

Wechat applet websocket use case

Open the door small example to learn ten use case diagrams

jq怎么获取元素的id名
随机推荐
Using domain name forwarding mqtt protocol, pit avoidance Guide
Terminal in pychar cannot enter the venv environment
NEON优化1:软件性能优化、降功耗怎么搞?
网易云音乐params和encSecKey参数生成代码
Gao Xiang slam14 lecture - note 1
项目-h5列表跳转详情,实现后退不刷新,修改数据则刷新的功能(记录滚动条)
leetcode-20. Valid parentheses -js version
Netease cloud music params and encseckey parameter generation code
Niuke practice 101-c reasoning clown - bit operation + thinking
Obtenir le volume du système à travers les plateformes de l'unit é
EPICS记录参考5 -- 数组模拟输入记录Array Analog Input (aai)
Neo4j community conflicts with neo4j desktop
资深【软件测试工程师】学习线路和必备知识点
论文解读(LG2AR)《Learning Graph Augmentations to Learn Graph Representations》
《数据库原理与应用》第一版 马春梅……编著 期末复习笔记
Quick sort (non recursive) and merge sort
Unity中跨平臺獲取系統音量
Acwing's 57th weekly match -- BC question is very good
Spark 之 Projection
neo4j community与neo4j desktop冲突