大约有 1,246 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(924) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(45) laya_api(2) Laya2.0_api(2)
...ation = new Laya.Animation(); ani.loadAnimation("catFly.ani"); ani.on(Laya.Event.COMPLETE, null, recover); function recover(): void { ani.removeSelf(); Laya.Pool.recover("deathEffect", ani); } return ani; } 附件 : --> 2019-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20191019
...t ResInfo.onLoaded (http://127.0.0.1:65353/game/code.js:12995:61) at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:711:59) at ResInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.j...
来源: Laya_社区 发布时间: 20180228
...享 微博 QZONE 微信 Laya_Aaron 赞同来自: private onClick(e: Laya.Event) { this._data = [1]; this.list.array = this._data; this.list.y = 220; this.list.height = 300; } 代码这么写就好了 2019-09-19 0 1 分享 微博 QZONE 微信 Laya新用户 赞同来自: 这2行换位...
来源: Laya_社区 发布时间: 20190919
...白部分的颜色问题 求指点3d射线碰撞和UI点击穿透的问题 event自定义事件的问题 graphics alpha 问题 (此问题已经无效) 问题状态 最新活动: 2018-08-06 10:43 浏览: 1025 关注: 2 人
来源: Laya_社区 发布时间: 20180802
...加点击事件没反应 (此问题已经无效) 点击事件不起效 event自定义事件的问题 如何判断横屏竖屏 问题状态 最新活动: 2020-04-20 10:21 浏览: 932 关注: 1 人
来源: Laya_社区 发布时间: 20200420
重力感应在手机没有回调问题 Accelerator.instance.on(Event.CHANGE, this, this.monitorAccelerator); monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) 在PC端调试回调中accelerationIncludingGravity为空,手机扫码调试。次函数不会被...
来源: Laya_社区 发布时间: 20190928
... Sprite有自定义事件 我自己写的类怎么绑定 classthis.stage.event(this.EVENT_COMPLETE,'complete'); 2017-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 请参考自定义...
来源: Laya_社区 发布时间: 20170110
...Animator; //监听默认动画完成后播放站立动画 this.ani.on(Laya.Event.COMPLETE,this,this.onAniComplete);但 Laya.Animator跟本没有继承EventDispatcher, 根本没有on函数啊, 我看了laya.d3.js, 播放完什么都没做,只调用了script.onStateExit if ((!islooping && ...
来源: Laya_社区 发布时间: 20190112
...a.dataType || data.dataType !="imageBitmap"){ this.event(data.url,null); return; }; var bitmap; var imageData=data.imageBitmap; if (Render.isWebGL){ /*__JS__ */bitm...
来源: Laya_社区 发布时间: 20171120
在浏览器里打开游戏退出时游戏会执行什么? this.on(Laya.Event.REMOVED,this,this.releaseUp); 我之前执行过这个方法。。但是这个方法必须是当前界面销毁或者移除的时候才执行。。如果在浏览器里,我点关闭或者手机上点返回。。那这...
来源: Laya_社区 发布时间: 20180428