大约有 1,218 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(677) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(39)
...是我监听动画完成并且设置不要重复播放 this.mArmature.on(Event.STOPPED, this, this.playStanding); this.mArmature.play("standing",false);//设置为false 不重复播放动画播放完成后在播放一次,依次循环…… 这样就没有抖动了 附件 : --> 2019-05-21 添加评...
来源: Laya_社区 发布时间: 20190521
... trace("______________________"); } this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void { Laya.timer.clear(this, this.looppp); SoundManager.playSound("res/sound/onClick.wav"); } 我这...
来源: Laya_社区 发布时间: 20180508
...4; ...... //切换图层按钮事件监听 this.changeActionButton.on(Laya.Event.CLICK, this, function():void { this.camera.removeAllLayers(); this.layerIndex ++; this.camera.addLayer(this.layerIndex%4 +1); this.camera.addLayer(5); }); ``` (图1)
来源: Laya2.0_文档 发布时间: 20210715
...4; ...... //切换图层按钮事件监听 this.changeActionButton.on(Laya.Event.CLICK, this, function():void { this.camera.removeAllLayers(); this.layerIndex ++; this.camera.addLayer(this.layerIndex%4 +1); this.camera.addLayer(5); }); ``` (图1)
来源: Laya2.0_文档 发布时间: 20210715
Stage中删除不掉Scene Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { var str = ""; if (!hit.sprite3D) { str = "点击选取的几何体"; } else { Laya.stage.removeChild(scene3D); } console.log(str); }); 每次删除scene3D后...
来源: Laya_社区 发布时间: 20171016
...e.log("LoadError")} LoadOK(){console.log("LoadOK")} Laya.loader.on(Laya.Event.ERROR,this,this.LoadError) Laya.loader.load("不存在的图片URL",Laya.Handler(this,this.LoadOK)); 发布成微信小游戏版本在真机微信上运行,发现这2个回调都没执行。 2018-09-20 添加...
来源: Laya_社区 发布时间: 20180920
...his, initGame)); Laya.timer.frameOnce(1, this, function () { Laya.stage.on(Event.RESIZE, this, function () { window.location.reload(); }) }) 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同...
来源: Laya_社区 发布时间: 20180416
... this.skebqb.play(4, false); this.skebqb.on(Laya.Event.STOPPED,this,this.changeSkin); this.owner.addChild(this.skebqb); this.skebqb.pos(500, 600); this.changeSkin(); } changeSkin(){ this.skeb...
来源: Laya_社区 发布时间: 20201231
...= true; sprite0.name = 'sprite0'; Laya.stage.addChild(sprite0); sprite0.on(Event.CLICK, this, handler_click); 怎么让sp透明区域不可点,有像素的地方才能接受到事件; hitArea,目前只支持圆形,矩形,多边形,而sp绘制的是一个不规则图形,请问这个怎么...
来源: Laya_社区 发布时间: 20170428
... 有的不生效 微信小游戏与加载图片时不会触发erroe事件 event自定义事件的问题 鼠标滚轮滚动事件 3d物理不能触发onCollisionEnter事件 问题状态 最新活动: 2017-02-06 18:51 浏览: 3537 关注: 2 人 trlanfeng • 2017-02-06 19:38 这个针对的是laya对...
来源: Laya_社区 发布时间: 20170206