大约有 1,649 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1311) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(40) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(18)
...计时器 LayaAir提供两种计时器循环来执行代码块。 1. `Laya.timer.frameLoop`执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 1. `Laya.timer.loop`执行频率依赖于参数指定时间。 ```typescript Laya.timer.frameLoop(1, this, this.animateFrameRateBased); L...
来源: Laya2.0_文档 发布时间: 20210714
...定时器之前做判断,如果存在,就clear, if(xxxxx){ Laya.timer.clear(this, this.showUserHandCard); } Laya.timer.loop(150, this, this.showUserHandCard, null, false); 这个xxx怎么判断 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...
来源: Laya_社区 发布时间: 20180321
...n onApePress(e) { // 鼠标按下后,HOLD_TRIGGER_TIME毫秒后hold Laya.timer.once(HOLD_TRIGGER_TIME, this, onHold); Laya.stage.on(Event.MOUSE_UP, this, onApeRelease); } function onHold() { Tween.to(ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bounceOut); isApeHold = true; } /** 鼠标放开后...
来源: Laya_示例 发布时间: 20251130
...ent = Laya.Event; // 鼠标按下后,HOLD_TRIGGER_TIME毫秒后hold Laya.timer.once(HOLD_TRIGGER_TIME, this, this.onHold); Laya.stage.on(Event.MOUSE_UP, this, this.onApeRelease); } onHold() { const Tween = Laya.Tween, Ease = Laya.Ease; Tween.to(this.ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bou...
来源: Laya2.0_示例 发布时间: 20251130
...te3D templet : GlitterTemplet[read-only] 获取闪光模板。 Glitter timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show ...
来源: laya_api 发布时间: 20170929
...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
... templet : ParticleTemplet3D[read-only] 获取粒子模板。 Particle3D timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show ...
来源: laya_api 发布时间: 20170603
...交 3 个回复 Laya_Fred 赞同来自: 刘大明 您好,这个是由于Timer类回收导致的问题,我们会在下个版本进行修复,现在提供给您暂时的解决方案: 在项目的laya.core.js内,修改下class Timer的以下几处。 2021-09-22 1 3 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20210915
... '---------'); 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
...父节点。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