大约有 1,291 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1019) Laya2.0_文档(79) Laya3.0_文档(55) Laya_示例(51) Laya3.0_api(44) Laya2.0_示例(39) laya_api(2) Laya2.0_api(2)
...efab。使用Laya.Sprite3D.load可以加载使用,但是当我使用Laya.loader.create,能加载出来,但是无法正常使用,会提示laya.core.js:12752 Uncaught TypeError: node._setParent is not a function 具体代码如下: Laya.Sprite3D.load(url, Laya.Hander.create(this, this.o...
来源: Laya_社区 发布时间: 20200313
Laya.loader.clearRes 能不能直接清除场景依赖的资源 Laya.Scene.load 既然可以直接加载场景所依赖的资源, Laya.loader.clearRes 能不能直接清除场景依赖的资源呢?? 2019-06-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20190617
Loader加载问题 我有两个文件夹,一个是11001,一个是11002,里面装着几张图集,图集的格式都一样,例如1.json里面的文件内是,1/*.png,可是加载动画到时候,两个不同的图集,怎么解决Resources already exist,is repeated loading:的问题? 2...
来源: Laya_社区 发布时间: 20170930
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { var ta = new TextArea(""); ta.skin = skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15);...
来源: Laya_示例 发布时间: 20251130
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, onColorPickerSkinLoaded)); })(); function onColorPickerSkinLoaded() { var colorPicker = new ColorPicker(); colorPicker.selectedColor = "#ff0033"; colorPicker.skin = skin; colorPicker.pos...
来源: Laya_示例 发布时间: 20251130
...e = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(skin, Handler.create(this, this.onLoadComplete)); } onLoadComplete() { const TextArea = Laya.TextArea; let ta = new TextArea(""); ta.skin = skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3...
来源: Laya2.0_示例 发布时间: 20251130
...Mode="horizontal"; //加载FGUI中的文件 var ProgressBar,resArray; Laya.loader.load([ {url:"res/Public.fui",type:laya.net.Loader.BUFFER}, {url:"res/Public@atlas_ucn9w.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas_ucn90.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas0.png",type...
来源: Laya_社区 发布时间: 20171207
...nction text_load_width_height() { Laya.init(600,400); Laya.loader.load(["../laya/assets/comp/image.png","../laya/assets/comp/vscroll.png"],Laya.Handler.create(this,onAssetLoad)); } function onAssetLoad() { older = new Laya.Sprite(); older.loadImage("../laya/a...
来源: Laya_社区 发布时间: 20170118
...lstatp-toutiao.com/obj/ad.union.api/e285dd263aee2e8f7b302fa8d139de4c' Laya.loader.load(url, Laya.Handler.create(this, () => { let picTemp = Laya.Loader.getRes(url); console.log(picTemp.width) // undefined let nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 n...
来源: Laya_社区 发布时间: 20211026
loader资源放cdn上走不通 这个路径该怎么改呢,图集加载到了,但是读取的图片还是本地的路径 附件 : --> 2018-01-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞...
来源: Laya_社区 发布时间: 20180121