大约有 171 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
...下 var ease:*=Ease.backIn(100,100,100,100); Tween.to(sp,{x:400},1000,ease,Handler.create(this,onTween)); 2017-01-05 0 0 分享 微博 QZONE 微信 shaotianhk 赞同来自: var ease:*=Ease.backIn(100,100,100,100); 这句是什么鬼,放在js里直接报错 2018-04-02 0 0 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20170105
...LayaScene_Scene/Assets/BakerHouse/Models/Baker_house-Baker_house.lm"],Laya.Handler.create(this, this.completeHandler)); completeHandler(): void { Laya.stage.addChild(Laya.loader.getRes("LayaScene_Scene/Scene.ls")); Laya.stage.addChild(Laya.loader.getRes("LayaScene_Scene/Assets/BakerHouse/Models/Bake...
来源: Laya_社区 发布时间: 20181221
...能生成 ResourceVersion.enable("version.json", Handler.create(this, this.onVersionLoaded), ResourceVersion.FILENAME_VERSION); ``` 2019-07-04 0 0 分享 微博 QZONE 微信 末节极地 赞同来自: 但是只有新版发布才有version.json,旧版发布是没有的 2019-...
来源: Laya_社区 发布时间: 20190701
...值? private jsonParse() { Laya.loader.load("res/atlas/resTest0.json", Handler.create(this, this.onLoaded), null, Loader.JSON); } private onLoaded() { var json : JSON = Laya.Loader.getRes("res/atlas/resTest0.json"); var jsTx = JSON.stringify(json); } 已经通过上面代码获取整个json内容...
来源: Laya_社区 发布时间: 20171016
...api中找到 Laya.loader.load Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,this.onloaded),null,Laya.Loader.ATLAS); 这一句,我想找一下Laya.loader.load的使用说明和使用例子,但是不知道怎么找。在api里我开了Laya。 http://layaair.ldc.layabox.com/api/ind...
来源: Laya_社区 发布时间: 20171017
...ader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init)); 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 骨骼数太大了吧 2018-03-23...
来源: Laya_社区 发布时间: 20180323
...30_loading.json", type: Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded1)); 使用这种方法动态加载资源导致内存很高,该怎么办? 和官网推荐的material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = mat...
来源: Laya_社区 发布时间: 20180122
...赏了。 private static onRequestComplete(hr:Laya.HttpRequest, call:Laya.Handler):void { call.runWith(hr.data); Http._requests.push(hr); } 2019-06-10 0 1 分享 微博 QZONE 微信 1560063291用户 赞同来自: 已解决,联系我 xyz 2019-06-10 0 0 分享 微博 QZONE 微信 为什么被折叠?...
来源: Laya_社区 发布时间: 20190609
...iginalScaleX*0.9,scaleY:this.originalScaleY*0.9},100,Laya.Ease.backIn,Laya.Handler.create(this, function(){ Laya.Tween.to(this.owner,{scaleX:this.originalScaleX,scaleY:this.originalScaleY},100,Laya.Ease.backOut) }) ) } 我所有的按钮都继承这个基类...
来源: Laya_社区 发布时间: 20201209
...可以直接用Laya.loader.load("http://192.168.1.21:90/Game_Config.xml",Handler.create(this,onLoadered)); public function onLoadered(data:*):void { trace("data:" + data); } 来完成文件的加载,在文件加载完会返回xml的内容信息,这是你可以解析加载的xml内容 2016-11-2...
来源: Laya_社区 发布时间: 20161120