大约有 1,171 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0068 秒)
Laya_社区(876) Laya3.0_api(80) Laya2.0_文档(72) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(39) laya_api(2) Laya2.0_api(2)
...ios手机下无法监听 Laya.Accelerator.instance.on(Laya.Event.CHANGE, this, this.monitorAccelerator); 在android手机中是没有问题的,在ios手机无法监听这个事件 附件 : --> 2020-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20200224
...中 写变大的逻辑 伪代码大概这个样子 btn.on(Event.CLICK, this, onBtnClick); 然后 onBtnClick方法里面写放大的逻辑 2018-08-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 bububu 相关问题 Dialog:...
来源: Laya_社区 发布时间: 20180815
... if (touches && touches.length == 2) { this.preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); Laya.stage.on(Event.MOUSE_MOVE, th...
来源: Laya_社区 发布时间: 20180301
...on.scaleX = -1; } bone.addChild(skeleton); skeleton.on(Laya.Event.STOPPED, this, this.playCom, [bone]); skeleton.play(bone.direction, false); 播放方式就和官方的一样 或者说是不是不支持叠加模式啊? 附件 : --> 2017-12-25 添加评论 免费帖 --> 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20171225
...anel会使HSlider的拖拽结束检测事件失效 const sliderButton = this.progressSlider.getChildAt(2) as Laya.Button; console.log("sliderButton:", sliderButton); if (sliderButton) { sliderButton.on(Laya.Event.MOUSE_UP, this, () => { ...
来源: Laya_社区 发布时间: 20250710
...hitRadius:Number,camp:Number,heroType:Number = 0):void { //初始化属性 this.type = type; this.hp = hp; this.speed = speed; this.hitRadius = hitRadius; this.camp = camp; this.heroType = heroType; if(!Role.cacheAs) { Role.cacheAs = true; //缓存飞机飞行动画 Animation.createFrames(["war/hero...
来源: Laya_社区 发布时间: 20170420
...一直重复执行 监听舞台的变化,Laya.stage.on(Laya.Event.RESIZE,this,this.autoScreen); 打开页面什么都不做,autoScreen函数不停的循环执行。。。 2017-11-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20171112
... 微信 189*****192 赞同来自: animationUI.animation.on(Event.COMPLETE, this, this.onAnimationEnd); 监听动画播放完成 再开始播放下一个 2017-09-20 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 scorpio 相关问题 谷...
来源: Laya_社区 发布时间: 20170920
...是会错位, 哪里出问题了呢, 求解答 Laya.Physics.I.worldRoot = this.road; this.road.scrollRect = new Laya.Rectangle(0, 100, this.width, this.height); 2020-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...
来源: Laya_社区 发布时间: 20201011
...ory.loadAni("NiuXingTianXia/spine/start2.sk"); mFactory.on(Event.COMPLETE, this, function () { mArmature = mFactory.buildArmature(); mArmature.pos(650, 330); mArmature.play(0, false); this.addChild(mArmature); }); 2017-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20171129