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

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

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

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

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

12. 区块地图-等角地图 [ 81%]

...WALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on(Laya.Event.CLICK, this, this.onStageClick); } createMap() { const TiledMap = Laya.TiledMap, Rectangle = Laya.Rectangle, Point = Laya.Point; this.tiledMap = new TiledMap(); this.tiledMap.createMap("res/tiledMap/isometric_grass_and_...

来源: Laya2.0_示例 发布时间: 20251209

13. laya.device.motion.Gyroscope_API3.0 [ 80%]

...。关于坐标系参见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 info: RotationInfo类型参数,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorientation Hierarchy EventDispatcher Gyroscope Index Co...

来源: Laya3.0_api 发布时间: 20231115

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

15. laya.device.motion.Gyroscope [ 78%]

... Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):voi...

来源: laya_api 发布时间: 20170929

16. laya.device.motion.Gyroscope [ 78%]

... Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):voi...

来源: Laya2.0_api 发布时间: 20190513

17. 关于shader中opengl函数问题 [ 75%]

...alog遮罩层移除解决问题的说明 关于apk打包动画卡的问题 event自定义事件的问题 我这样载入场景问题出现在哪呢?? 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 问题状态 最新活动: 2016-10-01 17:15 浏览: 3891 关注: 3 ...

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

18. 在Chrome下Layaair的List组件无法拖动,报如图错误 [ 74%]

...件无法拖动,报如图错误 Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.   附件 : --> 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

19. laya.device.motion.RotationInfo_API3.0 [ 73%]

... 关于坐标系参见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 alpha alpha: number Defined in laya/device/motion/Rotatio...

来源: Laya3.0_api 发布时间: 20231115

20. 设置声音 在 chrome 的一个警告 [ 70%]

...ginView.login @ LoginView.ts:24 __proto.runWith @ laya.core.js:711 __proto.event @ laya.core.js:488 __proto.sendEvents @ laya.core.js:3263 __proto.onMouseUp @ laya.core.js:3422 __proto.onMouseUp @ laya.core.js:2966 __proto.check @ laya.core.js:2993 __proto.check @ laya.core.js:2986 __proto.check @ l...

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