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

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

91. layaair2-cmd无法编译 [ 57%]

...6:08] Starting 'compile'... stderr: events.js:167       throw er; // Unhandled 'error' event       ^ SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' exit:1   但是我是新创建的代码,一行代码都没改动 附件 : --> myLaya2.zip 2019-09-24 添加评...

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

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

... 左右和上下翻转手机都没有变化。 同样的接口,在Native Android平台和web (IOS 和Android都行)平台上都是OK的。   NativePlayer SDK使用的是最新的0.9.10。   可能是Native IOS没有支持好?看文档IOS平台会无法获得绝对访问数据,但应该...

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

93. layaair iphone6 声音问题 [ 57%]

...设置音量,或者load完之后加一个延迟去设置音量试下!android上有这个问题吗? 2017-08-02 0 0 分享 微博 QZONE 微信 xiaojun 赞同来自: 这个我这边也有类似的问题,在放背景音乐,点一下屏幕又会从头放一边,而且放完又不会重新循...

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

94. Layabox IDE 在debug模式下 UI.view 只显示部分画面 [ 57%]

...接 提交 2 个回复 matthew_liu 赞同来自: how to set canvas width and height in chrome debug mode ? 2018-02-17 0 0 分享 微博 QZONE 微信 leisure 赞同来自: 屏幕的显示模式啊  那么多钟,你随便选择啊 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.alignV =...

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

95. Ignored attempt to cancel a touchmove event with cancelable=false [ 57%]

... event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2020-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 157*****593 赞同来自: 运行环境...

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

96. 升级到1.78beta版后,包编译错误 [ 56%]

... offsetX?: number, offsetY?: nu...'.       Types of parameters 'mipMap' and 'offsetX' are incompatible.         Type 'number' is not assignable to type 'boolean'.   2017-07-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

97. layaAir IDE 1.7.5 调试 chrome , 运行几十秒就关闭chrome,弹出如下提示 [ 56%]

...s - (reason: Cannot connect to the target: "port" option should be >= 0 and < 65536: 92222). 2017-06-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 kongbu0621 赞同来自: 自问自答, 我自己找到...

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

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

...= new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3); /// <summary> /// Range limit of angle. /// </summary> public angleRange: MyRange = new MyRange(5, 90); ///...

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

99. laya.device.motion.Gyroscope [ 56%]

...见https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 info: RotationInfo类型参数,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorientation Public Properties PropertyDefined By  instance : Gyroscope[sta...

来源: laya_api 发布时间: 20170929

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

...= new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3); /// <summary> /// Range limit of angle. /// </summary> public angleRange: MyRange = new MyRange(5, 90); ///...

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