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

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

31. 设置声音 在 chrome 的一个警告 [ 96%]

设置声音 在 chrome 的一个警告 laya.core.js:16299 [Deprecation] GainNode.gain.value setter smoothing is deprecated and will be removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/f ... 29152 for more details. (a...

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

32. 微信小游戏对protobuf.js 6.x不支持,有没有解决办法? [ 96%]

微信小游戏对protobuf.js 6.x不支持,有没有解决办法? 我们用的是proto3协议,但是protobuf.js6.x里用了Function(str)()的方法去动态解析代码,微信小游戏不支持,有没有什么替代的方法? 本想用protobuf.js5.x,但是这个版本处理proto3各...

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

33. Laya中的宏编译要怎么用啊 [ 96%]

...hello-h5")[IF-SCRIPT-END]*/ //代码直译方法,直接调用h5的方法 __JS__("alert(100)");//直译的意思就是括号里写什么就翻译什么教程里有这些内容,具体flash模式和h5模式指的是什么呢?不是同一套代码吗?我在代码里要怎么写?有例子吗...

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

34. 1.7.7版本问题 [ 96%]

1.7.7版本问题 求助,升级引擎到1.7.7后报错如下:laya.d3.js:29868 Uncaught Error: Can't read data from VertexBuffer with only write flag! at VertexBuffer3D.__proto.getData (laya.d3.js:29868) at RenderElement.__proto.getDynamicBatchBakedVertexs (laya.d3.js:3746) at DynamicBatch.__pro...

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

35. 微信小游戏中不能加载proto文件 [ 96%]

...proto会把https://变成https:/,微信下载就报错了。 在protobuf.js的function fetch_xhr方法最后把fileName改成//就可以load成功, var names=filename.split('/'); if(names[0]=="http:"||names[0]=="https:"){ filename=names[0]+"/"; for(var i=1;i<names.length;i++){ filename+=('/'+...

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

36. ts里面__JS__是不是用不了?如果我改为Browser,怎么去获取js原生的类呢 [ 96%]

ts里面__JS__是不是用不了?如果我改为Browser,怎么去获取js原生的类呢 2017-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 通过Laya.Browser.window...

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

37. ts里面__JS__是不是用不了?如果我改为Browser,怎么去获取js原生的类呢 [ 96%]

ts里面__JS__是不是用不了?如果我改为Browser,怎么去获取js原生的类呢 2017-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: https://ask.layabox.com/q...

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

38. 关于微信小游戏渲染子域图的问题 [ 96%]

...a function     at Texture.<anonymous> (http://127.0.0.1:10656/game/js/bundle.js:15188:19)     at Texture.__proto.setTo (http://127.0.0.1:10656/game/js/bundle.js:15065:14)     at new Texture (http://127.0.0.1:10656/game/js/bundle.js:15001:8)     at Main.<anonymous> (http://127.0.0...

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

39. laya.core.js报错:value._addReference is not a function [ 96%]

laya.core.js报错:value._addReference is not a function 偶发性错误。 打开新场景时报错laya.core.js:15911 Uncaught (in promise) TypeError: value._addReference is not a function     at Texture.<anonymous> (laya.core.js:15911)     at Texture.__proto._onLoaded (laya.core.js:15...

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

40. unity导出模型在laya加载报错 [ 96%]

...赞同来自: TypeError: Cannot read property 'props' of undefined preload.js:55 at Function.Laya3D._getSprite3DHierarchyInnerUrls (file:///E:/svn/210/h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.d3.js:17679:17)   at Loader.Laya3D._onHierarchylhLoaded (file:///E:/svn/210/h5engine/trunk/laya/...

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