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

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

1. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 100%]

...s or display objects without image resources), specifies whether the mouse events penetrate this object's collision detection. `true` means the object is penetrable, `false` means it is not penetrable. * When penetrable, the engine will no longer detect this object and will recursively check its chi...

来源: Laya_社区 发布时间: 20250825

2. Ignored attempt to cancel a touchmove event with cancelable=false [ 89%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在源码里面加上判断后,     (e.cancela...

来源: Laya_社区 发布时间: 20200512

3. Ignored attempt to cancel a touchmove event with cancelable=false [ 89%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在laya.core源码里面加上判断后,     (...

来源: Laya_社区 发布时间: 20200512

4. Ignored attempt to cancel a touchmove event with cancelable=false [ 88%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在laya.core源码里面加上判断后,     (...

来源: Laya_社区 发布时间: 20200512

5. eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 87%]

eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. 把项目运行在编译器中,切到后台一会就会报这个错 2017-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

来源: Laya_社区 发布时间: 20171031

6. Native IOS下获取陀螺仪数据为0 [ 83%]

...意坐标系。 //设置陀螺仪的处理 Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onOrientationChange);   private onOrientationChange(absolute:Boolean, info: Laya.RotationInfo):void         {             if (info.alpha === null)             {     ...

来源: Laya_社区 发布时间: 20170925

7. 3D中摄像机绕物体旋转该如何实现? [ 83%]

...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...

来源: Laya_社区 发布时间: 20170714

8. 官方案例里摄像机绕物体旋转脚本的问题 [ 83%]

...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...

来源: Laya_社区 发布时间: 20190224

9. Laya tiledmap 监听事件未响应 [ 82%]

...stPrior = true;         Laya.stage.focus = _mapSprite;         let event = _mapSprite.on(Laya.Event.CLICK, this, () => {             LogUtil.w("响应点击事件")         })     }   尝试使用focus 好像也没有响应 请问大佬们能解答一下吗 附件 : --> 2022-...

来源: Laya_社区 发布时间: 20220929

10. layaair2-cmd无法编译 [ 80%]

...  layaair2-cmd compile报错   [15:46:08] Starting 'compile'... stderr: events.js:167       throw er; // Unhandled 'error' event       ^ SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' exit:1   但是我是新创建的代码,一行代码都没改动 附件 ...

来源: Laya_社区 发布时间: 20190924