大约有 172 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
...ure) => { let sp = new Laya.Sprite(); sp.texture = res; sp.pos(0, 200); this.addChild(sp); });无法正常显示 检查发现 qg.downloadFile 报 error { "errCode": -3, "statusCode": 404, "errMsg": "com.nearme.instant.loopj.android.http.HttpResponseException"...
来源: Laya_社区 发布时间: 20250818
...f' of null showAni(panel:Laya.Box) { if (!panel.contains(this)) { panel.addChild(this); this.pos(0,110); } let i = 1; this.ani1.play(0, false);//出错了 this.an...
来源: Laya_社区 发布时间: 20170614
...的链接 提交 2 个回复 赞同来自: anifish1.on(Event.COMPLETE,this,complete) function complete(){ } 你是不是要问这个 2018-10-11 0 1 分享 微博 QZONE 微信 FullyI 赞同来自: 我用这个方法监听动画播放完成,有问题,...
来源: Laya_社区 发布时间: 20181011
... public function StorePage() { this.storelist.array = HostData.array //对list进行默认加载赋值 this.storelist.renderHandler=new Handler(this,onRender);//当list刷新时触发 并发送Box,index ...
来源: Laya_社区 发布时间: 20180503
... CountdownBar = (function () { function countdownBar() { PauseDialog.super(this); this.name = 'CountdownBar'; Laya.stage.addChild(this); this.zOrder = 100; this.count = 4; this.countLabel.text = '' + this.count; Laya.timer.loop(1000, this, this.countdown); } Laya.class(countdownBar, "CountdownBar", ...
来源: Laya_社区 发布时间: 20171012
...nt; public var isCd:Boolean = false; public function CdSprite() { super(); this.scrollRect = rect; this.alpha = 0.85; } public function setSize(bian:int):void{ r = bian / Math.SQRT2; rect = new Rectangle(0,0,bian,bian); this.scrollRect = rect; pos = bian * 0.5; } public function set360(value:int):vo...
来源: Laya_社区 发布时间: 20171124
..._update (laya.core.js:21262) 相关逻辑代码如下: moveSuccess(){ this.owner.removeSelf(); Laya.Pool.recover("flyCat", this.owner) } onTriggerEnter(other: any, self: any, contact: any): void { if (other.label === "cloud") { Laya.Tween.clearAll(this._sp) let effect: Laya.Animation = Laya.Poo...
来源: Laya_社区 发布时间: 20191019
... 更改某一帧的 skin ,, ani 如何 更改某一帧的 skin ,, this.saizi.play(0,false); this.saizi.on(Event.LABEL,this,function(){ this.saizi.skin="game/room_xinxibg.png"; }); 2017-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20171024
...index: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... this.model = animator.owner as Laya.Sprite3D;//得到Cube节点 } ... /** * 动画状态退出时执行。 */ onStateExit(): void { console.log("动画退出了"); //平移操作 let position = new Vector3(1, 1, 1); this.mode...
来源: Laya3.0_文档 发布时间: 20251010
...tap.mp3",type:Laya.Loader.SOUND});Laya.loader.load(resurls, Handler.create(this, onLoaded), Handler.create(this, onLoading, null, false)); function onLoaded(){ console.log(Laya.loader.getRes(src)); } 在chrome,安卓下都是正常的,在ios和mac Safari下是undefined 放在一个sprite的cl...
来源: Laya_社区 发布时间: 20170811