大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
...语句调用就报错了,我断点发现props这个属性是undefined的 if (!obj.props) throw "Scene data is error:" + url; 2020-08-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回...
来源: Laya_社区 发布时间: 20200804
...卡那边是清理不掉的。 2017-11-28 0 1 分享 微博 QZONE 微信 lifereset 赞同来自: 这是demo 请官方一定要重视!! private var clip:Clip; public function LayaSample() { Laya.init(1920,1080,WebGL); Laya.stage.scaleMode = Stage.SCALE_FULL; Stat.show(); Laya.stage.on(Event.CLICK...
来源: Laya_社区 发布时间: 20171128
... } public changeValue():void{ console.log("change"); if (this.loadingBar.value >= 1){ this.loadingBar.value = 0; } this.loadingBar.value += 0.05; } onChange(value: number): void { co...
来源: Laya_社区 发布时间: 20180524
...; stage.addChild(sp); setInterval(function () { sp.graphics = arr[index++] if (index >= arr.length) { index = 0; } }, 1000); 这种方式按照我的理解应该每次切换一个Graphics,但一个Graphics绘制了N次,实际drawcall是N次,而且是在切换到下一帧的时候绘制N次...
来源: Laya_社区 发布时间: 20170729
...载失败时(远程CDN没有该图片)没有调用回调。 查看MiniFileMgr.as发现仅当statusCode为200时才会触发回调,源码如下 public static function downFiles(fileUrl:String, encoding:String = "ascii", callBack:Handler = null, readyUrl:String = "",isSaveFile:Boolean = false,fi...
来源: Laya_社区 发布时间: 20180924
...中设置加载进度,不要直接在配置文件中加 代码如下: if(Browser.window.loadingView) { Browser.window.loadingView.loading(100) }
来源: Laya_社区 发布时间: 20170810
... var IMAGE_VERSION = "20170610"; Laya.URL.customFormat = function (url) { if (!Render.isConchApp && url.indexOf("?v=") < 0) url += ("?v=" + IMAGE_VERSION); return url; } 附件 : --> 2017-06-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20170602
...dChild(sp4); var arr:Array=[]; for(var i:int=0;i<box.numChildren;i++) { if(box.getChildAt(i).name=="aaa") { arr.push(i); } } trace(arr[i].len); } } } 2016-09-19 1 0 分享 微博 QZONE 微信 zsytssk 赞同来自: 谢谢 2016-09-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20160919
...HTMLAudioChannel.prototype["onPlayAgain"] = function onPlayAgain(): void { if (this._ele == null) { console.warn(`HTMLAudioChannel.onPlayAgain _ele is null, url=${this.url}`); return; } return window["Laya.HTMLAudioChannel.onPlayAgain"].call(this); } 你可以试试暂时重写这个方法 等修复...
来源: Laya_社区 发布时间: 20251014
...游戏渠道都暂不支持。 然后搜索vvmini.js的 getUrlEncode方法 if (type == "arraybuffer") return ""; 这个空字符串改为binary 2019-09-10 1 2 分享 微博 QZONE 微信 史正飞 赞同来自: 楼主解决了吗 2019-09-24 0 2 分享 微博 QZONE 微信 为什么被折...
来源: Laya_社区 发布时间: 20190906