大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0058 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
... sp.pivot(sp.width/2,sp.height/2); sp.pos(200,200); Laya.timer.frameLoop(1,this,onLoopRotation,[sp]); } private function onLoopRotation(sp:Sprite):void { sp.rotation++; } } } 2017-09-05 0 0 分享 微博 QZONE 微信 pal 赞同来自: 这个方法不行啊 还是因为升级laya2.0 之后不能用...
来源: Laya_社区 发布时间: 20170830
...{url:"prefab/ButtonA.json", type:Laya.Loader.PREFAB}], Laya.Handler.create(this, ()=>{ let prefab = Laya.loader.getRes("prefab/ButtonA.json") as Laya.Prefab; let o:Laya.Button = prefab.create(); o.zOrder = 10000; Laya.stage.addChild(o); })); 但是如果要把状态也clone出来,并没有什...
来源: Laya_社区 发布时间: 20190210
...注: 4 人 松 • 2018-07-28 16:21 Laya.stage.on(Event.VISIBILITY_CHANGE,this,pause); 这个消息没触发,拿不到进入后台状态 所以声音没法关 Laya_Aaron • 2018-07-28 16:28 这个不是引擎能解决的问题 松 • 2018-07-28 16:31 @Laya_Aaron:哦 那请问 调用系统Api拿...
来源: Laya_社区 发布时间: 20180728
...r.cacheFrameRate; 这个算出来的时间不等于_templet.getAniDuration(this._aniClipIndex);动画的持续时间的话,是停止不到最后的状态。 因为传进去的值是int类型,所以不一定除出来的数能等于动画持续时间。 momo199059 • 2018-02-02 11:16 我之前...
来源: Laya_社区 发布时间: 20180202
...4 0 0 分享 微博 QZONE 微信 131*****973 赞同来自: 把roleAni前的this去掉试试 2019-03-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 筋斗云网络 相关问题 发起问题须知,必看!!!不按提问规则的...
来源: Laya_社区 发布时间: 20190324
...矩形图片即可 Tween.to(obj, { skewY: 180 }, 100, null, Handler.create(this, turnEnd)); function turnEnd() { obj.内容从背面切换到正面(); Tween.to(obj, {skewY: 360}, 100);//就这个步骤没执行完 } Laya_Aaron • 2018-01-02 17:06 好的,正在查找原因,稍后会做回复
来源: Laya_社区 发布时间: 20180102
...eiveHandler(msg: any = null): void { try { this.MyImage.skin = "data:image/jpeg;base64," +msg; } catch (error) { } } 附件 : --> 2025-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20251115
...ions; //给男角色模型设定贴图动画 var manAni=this.roleMan.addComponent(SkinAnimations); manAni.url="3d/man/hero.ani"; manAni.player.play(); 2017-06-17 0 0 分享 微博 QZONE 微信 leeone 赞同来自: Warning: discard property,please ...
来源: Laya_社区 发布时间: 20170617
...运行报错 Uncaught Can not find scene:GameView.scene undefined Warning!,this class[MiniAdpter] already exist: Object {init: } 2.0.0编译报错Cannot find global type 'Array' 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. LayaNative2.2运行报错。:getBitmapData ...
来源: Laya_社区 发布时间: 20210624
...这个区域就是舞台的大小,坐标从0,0开始,这样也不行 this.dragRegion = new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height);该怎么处理呢 2018-05-30 0 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 什么区域。 2018-05-31 0 1 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180530