大约有 988 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0132 秒)
...次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,...
来源: Laya_社区 发布时间: 20170518
...ionObject' of undefined 请问下加载TFF字体要怎么加载呢? Laya.Handler.create和new Laya.Handler有啥区别 请问一下怎样动态加载prefab laya怎么跨域加载图片 unity到导出场景加载时抛异常,不知所措 Animation 的createFrames 使用已经加载的图集缓存...
来源: Laya_社区 发布时间: 20171206
... 上次发问题一直没有回复 Laya.loader.create("Main/SMain.ls",Laya.Handler.create(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%"); } 输出结果: 0.191865997...
来源: Laya_社区 发布时间: 20180717
... Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); Laya.Texture2D.load("res/threeDimen/Physics/plywood.jpg", Laya.Handler.create(this, function (tex) { ...
来源: Laya_社区 发布时间: 20191009
...归循环,来计算循环的次数 Tween.to(sp,{x:500},1000,Ease.backIn,Handler.create(this,onTween1)); } private function onTween1():void { // TODO Auto Generated method stub num++; trace(num); Tween.clearTween(onTween1); Tween.to(sp,{x:100},1000,Ease.backIn,Handler.create(this,onTween2)); } priv...
来源: Laya_社区 发布时间: 20161011
...s预加载声音报错 Laya.loader.load(slot_sound_res, Laya.Loader.SOUND, Handler.create(this, onSoundProgress, null, false)); //游戏资源加载进度函数 function onSoundProgress(pro) { console.log("sound" + pro); } 这样写哪里错了? 2016-12-16 添加评论 免费帖 --> 分享 微博 ...
来源: Laya_社区 发布时间: 20161216
... { url: "res/MainMenu.fui", type: laya.net.Loader.BUFFER } ], Handler.create(this, this.onLoaded)); 资源加载能用其他方式吗? 不可能一个一个加载吧 2019-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20191107
...点克隆显示正常 //Laya.loader.create(resource, Laya.Handler.create(this, this.onPreLoadFinish1)); //第二种 用自己unity导出的场景直接克隆整个.lh文件也显示正常 //Laya.loader.create(resource, Laya.Handler.create(this, this.on...
来源: Laya_社区 发布时间: 20200107
...g> = ["scene/Conventional/scene2.ls"] Laya.loader.create(resource, Laya.Handler.create(this, (success:boolean) => { console.log("3d加载完毕:" + success); }),Laya.Handler.create(this, (progress: number) => { })); 这是个数组。。但是场景文件不存在,失败参数都是空的...
来源: Laya_社区 发布时间: 20190626
显卡驱动停止响应,且大概率蓝屏,原来是Handler惹的祸,但原因是什么 问题来自于 http://ask.layabox.com/question/3673 谷歌浏览器直接崩,其他浏览器的话,也是CPU很高,操作窗口卡顿厉害 原因是一个run once = true的Handler,如果再...
来源: Laya_社区 发布时间: 20170330