大约有 914 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0055 秒)
Laya_社区(692) Laya2.0_文档(89) Laya_示例(48) Laya2.0_示例(39) Laya3.0_文档(25) Laya3.0_api(19) laya_api(1) Laya2.0_api(1)
头条小游戏二进制文件加载失败 Laya.loader.load([ { url:"res/Bag.xml", type:Laya.Loader.BUFFER}, { url:"res/Bag_atlas0.png", type:Laya.Loader.IMAGE }, { url:"res/Bag_atlas0_1.png", type:Laya.Loader.IMAGE}, ], Laya.Handler.c...
来源: Laya_社区 发布时间: 20190725
... this.init(); } init():void{ Laya.init(800, 700, Laya.WebGL); Laya.loader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } onLoaded(){ console.info("onLoaded"); this.tiledMap = new Laya.TiledMap(); this.tiledMap.createMap("desert.js...
来源: Laya_社区 发布时间: 20171125
...不能在native环境下手动载入若干脚本并执行。 ``` Laya.loader.load("http://118.17.23.1:9877/xxx.js", Handler.create(this, onLoad));//as3 ``` 2017-10-25 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20171025
...小 var assets:Array = ; assets.push({url:"map/157.jpg", type:Loader.IMAGE}); Laya.loader.load(assets, Handler.create(this, loadMapBGComplete)); function loadMapBGComplete():void{ var tx:Texture = Laya.loader.getRes("map/157.jpg"); this._test....
来源: Laya_社区 发布时间: 20170411
... } super.destroy(true); Laya.loader.clearRes(this._path); } 画红框的区域还在内存里。。 https://ask.layabox.com/question/14807 。。 附件 : --> 2018-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20180517
...子释放问题 (function() { var Stage = Laya.Stage; var Loader = Laya.Loader; var Particle2D = Laya.Particle2D; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL ...
来源: Laya_社区 发布时间: 20200229
...n; import laya.display.Stage; import laya.maths.Rectangle; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class HelloLayabox { private const AniConfPath:String = "../../../../res/role.atlas"; private var roleAni:Animation; public functio...
来源: Laya2.0_文档 发布时间: 20210715
加载ls文件 completeHandler 有时不触发? Laya.loader.create(Consts.SubPackagePath+"/scenes/"+msceneinfo.unityName+".ls",Handler.create(this,this.completeHandler),null,Scene); 2018-07-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20180724
...ER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(this, setup)); })(); function setup() { normalizeApe(); makeRedApe(); grayingApe(); } function normalizeApe() { var originalApe = createApe(); apeTexture = Laya.loader.getRes(ApePath); orig...
来源: Laya2.0_文档 发布时间: 20210714
...createChildren(); let assets = [ { url: "res/atlas/ui/shared.atlas", type: Loader.ATLAS }, { url: "res/atlas/ui/myview.atlas", type: Loader.ATLAS }, { url: "view/MyView.json", type: Loader.JSON }, ] Laya.loader.load(assets, Handler.create(this, this.onLoaded)); } private onLoaded():void { this.creat...
来源: Laya_社区 发布时间: 20180113