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

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

41. laya微信小游戏加载外部素材失败 急急急 [ 83%]

...材失败 急急急 看下图 已配置安全域名 也修改了 Laya.URL.basePath     附件 : --> 2018-04-26 添加评论 已悬赏50元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 15 个回复 黄星 赞同来自: 你先试一下勾选上...

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

42. 微信小游戏资源总是加载旧的资源 [ 82%]

... 7 个回复 OneWay 赞同来自: 你这个问题是由于同时使用了basePath和版本管理导致。属于引擎适配库的一个BUG,我们会在1.7.19版本中修复。预计是本周末发版本。   想现在解决的话,参照这个问题  https://ask.layabox.com/question/14117   ...

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

43. Laya.URL.basePath加载不到网络资源 [ 82%]

Laya.URL.basePath加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ];   Laya.loader.load(resArray, Laya.Handler.create(this, th...

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

44. 粒子-粒子演示1 [ 81%]

...aleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); s...

来源: Laya_示例 发布时间: 20251130

45. 粒子-粒子演示2 [ 81%]

...aleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/RadiusMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); sp...

来源: Laya_示例 发布时间: 20251130

46. 粒子-粒子演示3 [ 81%]

...aleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/particleNew.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); s...

来源: Laya_示例 发布时间: 20251130

47. 微信小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 81%]

...的路径怎么处理呢。在本地加载的load()方法之后使用URL.basePath方法。 例如: onAwake(): void { //网络动态加载 Laya.URL.basePath = "https://XXXX";//请把XXX换成自己的真实网址; //在此之下,再使用load加载资源,都会自动加入URL网址。从网...

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

48. 1.7.17beta,微信小游戏Unity导出资源加载问题 [ 81%]

...题 在更新1.7.17beta后。经过测试出现以下问题: 1.通过URL.basePath 指定http://ip地址时,在真机模拟时正常显示。 2.通过URL.basePath 指定外网https://域名时,在真机模拟资源不能正常显示。出现错误。 Failed to load:xxx.lh 3.12两种形式在微...

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

49. 版本管理swf找同名的Json文件发现找不到 [ 78%]

...ny> = Loader.getAtlas(this['_atlasPath']);             this.basePath=atls_ary['dir'];                 //this.basePath = "map1.swf";             this['_initData'](data);         }     } 附件 : --> 2018-06-15 添加评论 免费帖 --> 分享 ...

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

50. 版本管理问题 [ 77%]

...         "unpack.json"             ];             Laya.URL.basePath = "https://xxxxxxx/vivo/";             Laya.ResourceVersion.en able("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); 如上所示的小游戏平台资源...

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