• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 6 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0105 秒)

1. laya.events.InputManager_API3.0 [ 100%]

.../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

2. laya.events.TouchInfo_API3.0 [ 98%]

.../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

3. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...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

4. 导出的3D资源加载报错 [ 49%]

...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

5. 2.x引擎项目升级说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...0 输入处理模块修改 原有的MouseManager和KeyboardManager合并为InputManager。MouseManager以前在游戏中应该很少直接用到,所以影响不大。KeyboardManager原来只有一个接口hasKeyDown,现在改为调用InputManager.hasKeyDown即可。 新的输入处理系统的...

来源: Laya3.0_文档 发布时间: 20251010

6. 模型与动画的导入使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

...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