大约有 246 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
..., 0); box.transform.rotate(new Laya.Vector3(90, 0, 0), false, false); Laya.loader.load(this.AllPng,new Laya.Handler(this,this.onCallBack),null,Laya.Loader.BUFFER); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onKey); //######################################################################## } private...
来源: Laya_社区 发布时间: 20220815
json文件无法加载 Laya.loader.load("lang/zh_CN/scripts/base.json", Handler.create(this, this.onLoaded), null, Loader.JSON); 加载这个json文件 没办法加载进来 2017-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20171213
...__proto.event (file:///D:/layaTest/mylaya/bin/libs/laya.core.js:467:29) at LoaderManager.__proto._endLoad (file:///D:/layaTest/mylaya/bin/libs/laya.core.js:12516:12) at Loader.onLoaded (file:///D:/layaTest/mylaya/bin/libs/laya.core.js:12493:11) at EventHandler.__proto.runWith (file:///D:/layaTest/my...
来源: Laya_社区 发布时间: 20171017
...取文件的话,你不用发送请求就可以,你可以直接用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的内容信...
来源: Laya_社区 发布时间: 20161120
... content && (this._data=content); if (this._cache)Loader.cacheRes(this._url,this._data); this._customParse=false; this.event("progress",1); this.event("complete",(this.data instanceof Array)? [this.data] :this.data); } ...
来源: Laya_社区 发布时间: 20180101
...gba(0,0,0,0.1)"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/apes.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个UI实例 var plan = new ui.TimeLineUI(); //添加到舞台 Laya.stage.addChild(plan); //播放UI场景中的动画 ...
来源: Laya_社区 发布时间: 20190217
...刚体出现抖动。 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug Laya 2.7.0beta Scene与脚本的onAwake()与onEnable()调用时机存在问题 同时加载多个.js文件 js开发...
来源: Laya_社区 发布时间: 20200609
...ivate function loadUI():void { var _this:D3Base_TargetTexture = this; Laya.loader.load(["../../../../res/threeDimen/ui/button.png"], Handler.create(null, function():void { var btn:Button = new Button(); btn.skin = "../../../../res/threeDimen/ui/button.png"; btn.label = "切...
来源: Laya_社区 发布时间: 20170209
...; this.scene.addChild(this.camera); Laya.loader.create("res/scene_Effect/Conventional/Effect_zhujue_attack.lh", Laya.Handler.create(this, () => { let item = Laya.loader.getRes("res/scene_Effect/Conventional/Effect_zhujue_attack.lh...
来源: Laya_社区 发布时间: 20191102
...ar assets:Array = []; assets.push( { url:"protobuf/user.proto", type:Loader.TEXT } ); assets.push( { url:"protobuf/bag.proto", type:Loader.TEXT } ); Laya.loader.load(assets, Handler.create(this, onAssetsLoaded)); 首先确认下类型是为TEXT吗,如果这样写就是...
来源: Laya_社区 发布时间: 20161223