大约有 6 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0105 秒)
.../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
.../Protected All Inherited Externals Only exported Menu Globals "laya/events/InputManager" TouchInfo Class TouchInfo Hierarchy TouchInfo Implements ITouchInfo Index Constructors constructor Properties began clickCancelled clickCount downTargets event lastRollOver moved pos target touchId Methods begin...
来源: 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
...rt com.gameLogic.gameState.GameState; import com.gameLogic.manager.InputManager; import com.gameLogic.scene.LayerEnum; import com.gameLogic.scene.SceneManager; import com.gameLogic.scene.WorldMap; import laya.d3.core.Camera; import laya.d3.core.Sprite3...
来源: Laya_社区 发布时间: 20190416
...0 输入处理模块修改 原有的MouseManager和KeyboardManager合并为InputManager。MouseManager以前在游戏中应该很少直接用到,所以影响不大。KeyboardManager原来只有一个接口hasKeyDown,现在改为调用InputManager.hasKeyDown即可。 新的输入处理系统的...
来源: Laya3.0_文档 发布时间: 20251010
...import { MainBase } from "./Main.generated"; import KeyBoardManager = Laya.InputManager; import Keyboard = Laya.Keyboard; const { regClass, property } = Laya; @regClass() export class Main extends MainBase { private _animator: Laya.Animator; private _isRun: boolean; onAwake() { console.log("Game sta...
来源: Laya3.0_文档 发布时间: 20251010