界面 / JoystickBindKeyType
JoystickBindKeyType Class
摇杆按键绑定
Table of contents
Properties
down: Keys |
|---|
| 向下的按键 |
left: Keys |
| 向左的按键 |
right: Keys |
| 向右的按键 |
up: Keys |
| 向上的按键 |
不进行赋值等待后续为每个按键单独绑定
• new JoystickBindKeyType(up, down, left, right)
构造一个数据结构传递摇杆需要绑定的按键
Parameters
up Keys | 上方向的按键 default:undefined |
|---|---|
down Keys | 下方向的按键 default:undefined |
left Keys | 左方向的按键 default:undefined |
right Keys | 右方向的按键 default:undefined |
Properties
down
• down: Keys
向下的按键
left
• left: Keys
向左的按键
right
• right: Keys
向右的按键
up
• up: Keys
向上的按键