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

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

351. 为什么字符串不能连接? [ 71%]

... private getRandomColor():String { let arr:Array<String>=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"]; let str:String="#"; for(let i:number=0;i<6;i++){ let index:number=arr.length*Math.random(); str+=arr[index];//在IDE里面这句报错 [ts] Operator '+' cannot be appl...

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

352. 在开发域绘制list后 显示出来了 但点击会报下面的错误 [ 71%]

...nt is not a function at MouseManager.__proto.initEvent (subContext/code.js:2999:32) at MouseManager.__proto.runEvent (subContext/code.js:3139:14) at Stage.__proto.render (subContext/code.js:18499:26) at Stage.__proto._loop (subContext/code.js:18458:8) at Function.loop (subContext/code.js:5426:15) at...

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

353. 原生js如何调用laya里的方法? [ 71%]

...传入laya之中, 另外,laya什么时候自身支持file方法啊? 2017-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: js调laya的方法,也就是js调js的方法,laya的...

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

354. 开启版本资源管理的时候,3d资源加载会出错 [ 71%]

开启版本资源管理的时候,3d资源加载会出错 2.0.0beta5开启版本资源管理(基于文件名映射管理方式)时,直接用Scene3D.load加载场景会报错 例子太麻烦我就不提供了,我直接说出代码问题所在 假设Scene3D里需要加载一张A.PNG,开...

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

355. texture的引用计数是如何计数的? [ 71%]

...用了一张图给ui. 为啥reference的结果会不同?   附件 : --> 2018-08-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 默认webgl模式下,在不产生交叉渲染的前提下...

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

356. LayaRuntime-iOS 静态库中 Reachability 与其他第三方库冲突 [ 71%]

...与其他第三方库发生了冲突。 建议将Reachability 重命令。 2018-11-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 恩 重命令是什么意思? 表达明确,我们...

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

357. layacmd 报错 [ 71%]

.... Received undefined at assertPath (path.js:7:11) at Object.join (path.js:1211:7) at Function.FileTools.getPath (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.max.js:24651:26) at Function.FileManager.getPath (/usr/lib/node_modules/layacmd/bin/ProjectExportTools/LayaAirCmdTool.m...

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

358. Laya2.0版本 Particle2D的Bug,希望尽快修复哦 [ 71%]

Laya2.0版本 Particle2D的Bug,希望尽快修复哦 1. 粒子角度接近90度时,就会出现 粒子缩小到看不清以及粒子的颜色不对 2. 同时存在两个粒子的话,贴图引用会出错: 我有两个粒子A与B,分别设置用了贴图Ta与Tb,但是在游戏中,...

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

359. Cannot enlarge memory arrays. [ 71%]

...) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to r...

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

360. 发布为微信小游戏,加载字体失败 [ 71%]

...ByTagName is not a function     at BitmapFont.__proto.parseFont (http://127.0.0.1:53804/game/code.js:803:17)     at Loader.__proto.onLoaded (http://127.0.0.1:53804/game/code.js:12700:11)     at HTMLImage.onload (http://127.0.0.1:53804/game/code.js:21213:15)     at Image._source._source.onloa...

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