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

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

21. [LayaAir3]我修改了这个启动场景,从Loading——>register之后,就导致报这个错误,即使后面修改回去,也不行。怎么解决? [ 75%]

[LayaAir3]我修改了这个启动场景,从Loading——>register之后,就导致报这个错误,即使后面修改回去,也不行。怎么解决?   INDEX:bundle.js No matching export in "src/scence/uiDemo/registerRT.ts" for import "main"  [Ln 96, Col 49] at /D:/Laya3IDE/LayaAirIDE...

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

22. UI-Tab [ 75%]

...WALL; Laya.stage.bgColor = "#232628"; Laya.stage.bgColor = "#3d3d3d"; Laya.loader.load(skins, Handler.create(this, onSkinLoaded)); })(); function onSkinLoaded() { var tabA = createTab(skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#333333"; var tabB = createTab(skins[1]); tabB.pos...

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

23. ProgressBar 代码问题 [ 74%]

...钮点击后 出现popup并且模拟进度条加载 按钮代码: this.testLoadingBar_anim.on(Event.CLICK,this,()=>{     var loading : Onloading = new Onloading();     loading.popup(true);     Laya.timer.loop(100, this, loading.changeValue); }); 进度条代码: import Handler = Laya.Handle...

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

24. vivo真机加载问题 [ 74%]

...试过,发布到vivo真机调试,直接运行是没有问题的 Laya.loader.load([1.png,2.png,3.png])  返回undefined Laya.loader.load("1.png") 加载返回false Laya.Texture2D.load("1.jpg")  加载返回undefined 求帮助   附件 : --> 2020-03-25 添加评论 已悬赏20元 --> 分享 微...

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

25. UI-Tab [ 74%]

...e = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(skins, Handler.create(this, this.onSkinLoaded)); } onSkinLoaded() { let tabA = this.createTab(skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#333333"; let tabB =this. createTab(skins[1]); tabB.p...

来源: Laya2.0_示例 发布时间: 20251130

26. swf预加载问题 [ 73%]

swf预加载问题 loader不能用于swf的预加载,于是用MovieClip的​load方式做了个。不知道会不会有问题。package util { import laya.ani.swf.MovieClip; import laya.events.Event; import laya.events.EventDispatcher; import laya.net.Loader; import laya.utils.Handler; public cl...

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

27. loadingView 的 tips提示问题 [ 73%]

loadingView 的 tips提示问题 loadingView 的 tips设置的显示字体太小了。 能不能设置隐藏?   loadingView.setTips([""]); 直接这样设置 ,但后面还显示一个百分比   怎么处理好呢   根据工作人员的方法已解决:  android版本 1、解压开app\lib...

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

28. 预加载图集文集在小游戏端导致内存过高 [ 73%]

...y: Array<any> = [ { url: hyip+"res/atlas/comp/01_shouye.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/02_zhujiemian.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/30_loading.json", type: Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded1...

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

29. laya.spine.js问题以及spine.core.js问题 [ 72%]

...ERROR事件也抛不出去。   private loop() { if (this.assetManager.isLoadingComplete()) { this.parseSpineAni(); return; } if (this.assetManager.hasErrors()) { this.event(Event.ERROR, "load failed:" + this.assetManager.getErrors()); return; } Laya.timer.frameOnce(1, this, this.loop); }       ...

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

30. clearRes内存泄漏 [ 72%]

clearRes内存泄漏 使用Laya.loader.clearRes之后重新加载图片,会有内存泄漏 附件 : --> DemoClearRes.zip 2018-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 OneWay 赞同来自:  Laya.loade...

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