大约有 1,700 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1359) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(43) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(18)
...his._parent){ value && this._parent._set$P("hasZorder",true); Laya.timer.callLater(this._parent,[b]this._parent.updateZOrder[/b]);//Laya.timer.callLater(this._parent,this.updateZOrder); } } }); 之前官方是 Laya.timer.callLater(this._parent,this.updateZOrder); 我改完是 Laya.timer.call...
来源: Laya_社区 发布时间: 20180412
...交 3 个回复 Laya_Fred 赞同来自: 刘大明 您好,这个是由于Timer类回收导致的问题,我们会在下个版本进行修复,现在提供给您暂时的解决方案: 在项目的laya.core.js内,修改下class Timer的以下几处。 2021-09-22 1 3 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20210915
...些情况下,会无法收到Label的触发。 看了源码后,估计跟timer的jumpFrame有关,jumpFrame默认是false,动画实际上也是使用timer来控制。 请问这种情况,除了在源码上修改动画的timer打开jumpFrame外,还有什么办法能保证Label能必然被触...
来源: Laya_社区 发布时间: 20181208
...父节点。Node scene : Scene[read-only] 获得所属场景。 Sprite3D timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3D width : Number[read-only] 获取地形X轴长...
来源: laya_api 发布时间: 20170929
... '---------'); Laya.stage.renderingEnabled = true//恢复渲染 Laya.updateTimer.resume() //恢复onUpdate Laya.timer.resume(); //恢复时间 Laya.timer.scale = 1; }) window['wx'].onHide(() => { this.event(AppEvent.onHide); this.appStatus = AppEvent.onHide; console.log(this.appStatus, '---------...
来源: Laya_社区 发布时间: 20200917
... this.stage.on(Laya.Event.BLUR, this, this.onBlur); Laya.timer.frameLoop(1,this,this.onFrameLoop); } private onFrameLoop():void{ console.log("delta:",Laya.timer.delta); } private onFocus(): void { console.log("onFoc...
来源: Laya_社区 发布时间: 20180724
...节点。Node scene : Scene[read-only] 获得所属场景。 Sprite3D timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Sh...
来源: laya_api 发布时间: 20170929
... other.owner.transform.translate(eat,true,false); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.removeSelf(); return; } } else { var move1 = new Laya.Vector3(0.02, 0, 0); var move2 = new Laya.Vector3(-0.02, 0, 0); Laya.ti...
来源: Laya_社区 发布时间: 20181017
...问题发现: 在使用SoundManager时播放音频期间暂停游戏, Laya.timer.scale设置为0, 导致短音频的callback无法触发, 并且导致游戏内之后的流程中所有callback如Laya.loader.load(), SoundManager.playSound()等一系列系统方法无法回调. 解决方案: 尽量不...
来源: Laya_社区 发布时间: 20201107
...以了 2019-05-20 0 1 分享 微博 QZONE 微信 乐趣 赞同来自: Laya.timer.loop(1000,this,this.CardAnimation); //定时执行某个函数 this.CardAnimation是你要自己实现的动画 动画执行玩后清理掉这个定时器 Laya.timer.clear(this,this.CardAnimation); //清理定时...
来源: Laya_社区 发布时间: 20190520