大约有 3 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0014 秒)
.../Protected All Inherited Externals Only exported Menu Globals "laya/events/InputManager" InputManager Class InputManager Hierarchy InputManager Index Constructors constructor Properties clickTestThreshold isTextInputting isiOSWKwebView keyEventsEnabled mouseEventsEnabled mouseX mouseY multiTouchEnab...
来源: Laya3.0_api 发布时间: 20231115
...eX) && !isNaN(this.lastMouseY) && this.isMouseDown) { Laya.InputManager.hasKeyDown(87) && this.moveForward(-this.speed * elapsedTime);//W Laya.InputManager.hasKeyDown(83) && this.moveForward(this.speed * elapsedTime);//S Laya.InputManager.hasKeyDown(65) && thi...
来源: Laya3.0_文档 发布时间: 20251010
...0 输入处理模块修改 原有的MouseManager和KeyboardManager合并为InputManager。MouseManager以前在游戏中应该很少直接用到,所以影响不大。KeyboardManager原来只有一个接口hasKeyDown,现在改为调用InputManager.hasKeyDown即可。 新的输入处理系统的...
来源: Laya3.0_文档 发布时间: 20251010