大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
... } Laya.loader.load(arr,Handler.create(this,LoadComplated)); } private function LoadComplated(e:*=null):void { Laya.stage.addChild(img); img.on("click",this,OnIm...
来源: Laya_社区 发布时间: 20170918
...ntion, only resource files in the level-1 directory are loaded Laya.loader.create([{ url: "xx.zip", type:"ZIP"}]) [/size][/code] 如果只需要加载zip包中的部分资源,或者资源路径在多级目录下。可以在constructParams中进行配置,来加载指定文件资源。[size=14][co...
来源: Laya_社区 发布时间: 20211227
...x 赞同来自: //关闭特效自己实现 this.closeEffect = Laya.Handler.create(this,this.onCloseEffect,null,true); //具体的实现代码 _proto_.onCloseEffect = function(){ Laya.Tween.to(this,{ x:-100 //动画结束就关闭 },1000,null,Laya.Handler.create(this,this.close)); } 但是动...
来源: Laya_社区 发布时间: 20170809
...te3D 相关的缓存资源 通过 lh格式 生成的 Sprite3D, Laya.loader.create(_path, Handler.create(this,OnComplete),null,Sprite3D); 要怎么清理掉他的所有缓存资源? 附件 : --> 2018-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20180517
...bin/res/ui/progressBar.png", "../bin/res/ui/progressBar$bar.png"], Handler.create(this, this.onPreloaded)); }; LoadResource.prototype.onPreloaded = function () { this.initLoadData(); }; LoadResource.prototype.initLoadData = function () { var res_array = [ {url:"res/ui/dialog.png",type:Laya.Loader.IM...
来源: Laya_社区 发布时间: 20200924
... Laya.loader.load("fonts/OPPOSANS-H.ttf", Laya.Handler.create(this, (success) => { console.log("2.8.0 字体加载是否成功:", success); Laya.Text.defaultFont = "OPPOSANS-H"; }), null, Laya.Loader.TTF)...
来源: Laya_社区 发布时间: 20201118
...se) 创建一个 IndexBuffer3D,不建议开发者使用并用IndexBuffer3D.create()代替 实例。 IndexBuffer3D _bindForVAO():void[override] IndexBuffer3D bind():Boolean[override] IndexBuffer3D destroy():void[override] IndexBuffer3D getData():Uint16Array 获取索引数据。 IndexBuff...
来源: Laya2.0_api 发布时间: 20190513
...oupName:String = null; if(isGroup == true){ groupName = url; } Laya.loader.create(_path, Handler.create(this,OnComplete,null),null,null,null,1,true,groupName); }else{ var item:Sprite3D = Pool.getItem(_path); if(item != null){ //直接用缓存的 Instantiate(item); }else{ OnComplete(); } } } public ...
来源: Laya_社区 发布时间: 20180425
... 能不能给个demo 我已经把代码贴进去了 还是提示 can not Create :Dialog 2018-04-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 不太明白你说的view里嵌套dialog是...
来源: Laya_社区 发布时间: 20180423
... this._style === SpriteStyle.EMPTY && (this._style = SpriteStyle.create()); if( this._style == null){ this._style = SpriteStyle.create() } return this._style; } core.js vivo下getJSON报错兼...
来源: Laya_社区 发布时间: 20191017