大约有 121 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0028 秒)
Laya_社区(51) laya_api(29) Laya2.0_api(27) Laya3.0_文档(4) Laya2.0_文档(3) Laya_示例(3) Laya2.0_示例(3) Laya3.0_api(1)
... | Index | Frames No Frames KeyframeAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class KeyframeAnimationsInheritanceKeyframeAnimations Component3D EventDispatcher ObjectSubclasses RigidAnimations, SkinAnimations KeyframeAnimation 类用于帧动画组...
来源: laya_api 发布时间: 20170929
... 提交 1 个回复 Laya_XS 赞同来自: 不建议你这样修改,this.event(Laya.Event.CHANGE);这个是多余的,你的代码生效无非是text重新赋值内容触发了再一次排版。你可以直接在设置了文本type后,直接修改下文本的内容就可以了。 2021-07-29 0 0 ...
来源: Laya_社区 发布时间: 20210729
...回调 已经测试过的方式: 以下三种方式都无返回 window.addEventListener('devicemotion', function(event){}) window.addEventListener('deviceorientation', function(event) {}) Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onDeviceorientation); 连接打开方式都由...
来源: Laya_社区 发布时间: 20191202
... 赞同来自: ht657990995 我看代码里在滚动结束的时候派发了Event.end事件,你监听这个事件没有收到返回吗? 2017-10-08 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ht657990995 相关问题 发起问题须...
来源: Laya_社区 发布时间: 20171007
重力感应在手机没有回调问题 Accelerator.instance.on(Event.CHANGE, this, this.monitorAccelerator); monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) 在PC端调试回调中accelerationIncludingGravity为空,手机扫码调试。次函数不会被...
来源: Laya_社区 发布时间: 20190928
...vScrollBarSkin都需要赋值; this.uiPanel.RankList.scrollBar.on( Laya.Event.CHANGE, this, this.OnScroll ); private OnScroll() { this.uiPanel.RankList1.scrollBar.value = this.uiPanel.RankList.scrollBar.value; } 2018-05-16 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20180515
... 提交 1 个回复 热心市民小应 赞同来自: 监听舞台的Laya.Event.VISIBILITY_CHANGE,然后通过Laya.stage.isVisibility的值来判断是不是切换到后台了 2019-10-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 co...
来源: Laya_社区 发布时间: 20191028
... this._simulation=null; (this.owner).transform.off(/*laya.events.Event.TRANSFORM_CHANGED*/"transformchanged",this,this._onTransformChanged); } 2019-03-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20190318
陀螺仪 IOS Laya.Gyroscope.instance.on(Laya.Event.CHANGE,this,this.onDeviceorientation); 在IOS 下没有调用 onDeviceorientation 这个方法。陀螺仪在苹果上如何处理 2019-08-15 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20190815
...ootBone){ this._cacheRootBone.transform.off(/*laya.events.Event.TRANSFORM_CHANGED*/"transformchanged",this,this._boundChange); 这里的this._cacheRootBone非空,但是上面transform是空的 这个精灵是 SkinnedMeshRenderer绑定的RootBone的对象。 下面是...
来源: Laya_社区 发布时间: 20191015