大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0079 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...eateMap("res/maps/scence1.json",new Rectangle(0,0,800, 800),Handler.create(this,onMapLoaded)); function onMapLoaded(){ console.log("地图加载完成"); }scence1.json { "height":25, "infinite":false, "layers":[ { "data":[7, 7, 7, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 7, 1, 1, 7, ...
来源: Laya_社区 发布时间: 20180326
...属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。 * @param duration 花费的时间,单位毫秒。 * @param ease 缓动类型,默认为匀速运动。 * @pa...
来源: Laya_社区 发布时间: 20180425
... Close(): void { IconManager.Instance().clearTexture(this.leftverticaldrawing.skin);//清理某个动态贴图的资源(clearRes方法清理png) IconManager.Instance().clearTexture(this.rightverticaldrawing.skin); ResMgr.ins.clearTextureImg(Win...
来源: Laya_社区 发布时间: 20200915
...景与容器 跟楼上那位报错的那位差不多 他报错的原因是this后面少了名称 this.名称.removeSelf() 2018-07-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 LM20081991 相关问题 2.0一不小心删了bin目录...
来源: Laya_社区 发布时间: 20180110
...el/LayaMonkey2/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Handler.create(this, function(mesh:Mesh):void { ........ //上面省略,我们再网格加载完成3秒后对该网格进行销毁 Laya.timer.once(3000,this,function ():void { //销毁了使用了该网格的精灵 layaMonkey.destroy(); /...
来源: Laya2.0_文档 发布时间: 20210715
...源,用于tab的项皮肤 Laya.loader.load("button-4.png",Handler.create(this,onLoaded)); } private function onLoaded():void { //添加tab容器 var tab:Tab=new Tab(); Laya.stage.addChild(tab); for(var i:int=0;i<6;i++)//为tab容器添加button { var btn:Button=new Button(); btn.skin="button-4....
来源: Laya_社区 发布时间: 20170626
...abel 在安卓平台显示错误 LayaNative-Release-2.1.0 Label 类型 this.tipLbll.text = "HÖF-晉級了開心"; this.tipLbll.fontSize = 28; 结果如图 因为附件大小限制, 例子缺少 android_studio\app\libs下的lib文件, 请从LayaNative-Release-2.1.0提取 附件 : --> android_s...
来源: Laya_社区 发布时间: 20190618
..._templet = new Templet(); _templet.on(Event.COMPLETE,this,parseComplete); _templet.on(Event.ERROR,this,onError); _templet.loadAni("res/role/1/left/left.sk"); } private function parseComplete():v...
来源: Laya_社区 发布时间: 20170204
...oad([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)).then( (value) => { JSZip.loadAsync(value).then( (zipData: JSZip) => { conso...
来源: Laya_社区 发布时间: 20230208
... the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 laya.physics3D.js:308 Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWT...
来源: Laya_社区 发布时间: 20191108