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

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

301. 版本管理什么用 [ 78%]

...{ url: Laya.ResourceVersion.manifest["res/atlas/loading.json"], type: Laya.Loader.ATLAS },                 { url: Laya.ResourceVersion.manifest[utils.resourcesCenter.ResourcesPathStr.PROTO_FILE_PATH], type: Laya.Loader.TEXT },             ];  手动修改了JS代码!! 可以成功...

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

302. 如何能够clone一个node(包括node所有的子节点, 以及所有节点上的compnent,属性) [ 78%]

...信 nevercai 赞同来自: 138*****161 这就是prefab的功能了。Laya.loader.load([{url:"prefab/ButtonA.json", type:Laya.Loader.PREFAB}], Laya.Handler.create(this, ()=>{ let prefab = Laya.loader.getRes("prefab/ButtonA.json") as Laya.Prefab; let o:Laya.Button = prefab.create(); o.zOrder = 1000...

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

303. 批量预加载如果是图片或者声音类型,不会触发加载错误事件 [ 78%]

...如果是图片或者声音类型,不会触发加载错误事件 用Laya.loader批量加载图片或者声音并指定加载类型时,如果加载错误,并不会触发错误事件。   Laya.loader.on(Laya.Event.ERROR, this, function(){ console.log("err"); }); Laya.loader.load([{url:"res/gene...

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

304. 淘宝小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 77%]

...在代码中加载分包,是可以加载到分包内的资源的: Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { // ...... }); Laya.loader.load("sub2/Sphere.lh").then((res: Laya.PrefabImpl) => { // ...... }); 4.2 特殊情况下多级目录的分包 有时开发者的分...

来源: Laya3.0_文档 发布时间: 20251010

305. unity 导出文件导入LAYA加载报错 [ 77%]

....runWith (laya.core.js:672) at ResInfo.__proto.event (laya.core.js:449) at LoaderManager.__proto._endLoad (laya.core.js:11511) at Loader.onLoaded (laya.core.js:11490) at EventHandler.__proto.runWith (laya.core.js:672) at Loader.__proto.event (laya.core.js:449) at Loader.__proto.endLoad (laya.core.js...

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

306. 在加载多个资源的时候,加载进度异常 [ 77%]

在加载多个资源的时候,加载进度异常 Laya.loader.load(["res/atlas/images.atlas", "res/atlas/f1.atlas", "res/atlas/f2.atlas", "res/atlas/f3.atlas", "res/atlas/f4.atlas", "res/atlas/f5.atlas"],   Laya.Handler.create(this, function(){ }),  Laya.Handler.create(this, function(e){    c...

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

307. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 77%]

...00631用户 赞同来自:    //加载IDE指定的场景         Laya.loader.load([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){             this.astcconfig = Laya.loader.getRes("minastc.config.json");             for(var key in this.astcconfig...

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

308. 背景音乐能缓存吗? [ 77%]

...被折叠 要回复问题请先登录 发起人 C_jx 相关问题 请问下loader如何强制加载一个文件,避免浏览器的缓存 求教: soundManager如何停止正在播放的背景音乐 Animation 的createFrames 使用已经加载的图集缓存动画失败 请教下微信小游戏的...

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

309. UI图片资源不显示 [ 77%]

... 微博 QZONE 微信 hjy1234123 赞同来自: json文件没加载到 Laya.loader.load([{url: "res/atlas/**.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); 像这样加载一下,再打开界面 2017-02-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...

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

310. 问个资源加载的问题,挺急的 [ 77%]

...里面),你要加载图片文件,我所说的是代码里面的Laya.loader加载的东西 2017-05-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 a058110356 相关问题 加载到舞台的3D模型不显示贴图 IDE1.7.8 json图...

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