• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 370 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0040 秒)

11. Laya.timer.once();第四个参数 覆盖之前的延迟执行是啥意思 [ 95%]

Laya.timer.once();第四个参数 覆盖之前的延迟执行是啥意思 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 可以继续点进去看方法,这个会覆盖之前...

来源: Laya_社区 发布时间: 20180524

12. 求助引擎的api接口Laya.timer.once延迟2s后执行tween函数会报错是什么问题 [ 94%]

求助引擎的api接口Laya.timer.once延迟2s后执行tween函数会报错是什么问题 问题背景:想要实现弹幕移动的时候一条弹道上的label需要等待一定时间才能弹出下一条。   异常状态是tween找不到this._ease函数,但是我看断点的时候this是...

来源: Laya_社区 发布时间: 20180917

13. Timer.clear 方法有问题 [ 91%]

Timer.clear 方法有问题 如果给一个method加了多个定时器,这个clear方法只能清除该method的一个定时器。如果这里用clearAll方法,又会把其它method的定时器删掉 附件 : --> 2018-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

来源: Laya_社区 发布时间: 20180719

14. laya.utils.Timer_API3.0 [ 89%]

...c/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Timer" Timer Class Timer Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Hierarchy Timer Index Constructors constructor Properties currFrame currTimer scale Acce...

来源: Laya3.0_api 发布时间: 20231115

15. js执行once时如何改变执行域 [ 87%]

...nsole.log(dataTemp.d); kwxGame.prototype.cardData = dataTemp.d; [b][i]Laya.timer.once(1000, this, this.onOncePiao); [/i][/b] } }在定时器中需要调用外部_proto上的函数,这里的this指向的执行域出错,请问如何调用外部的方法? 2017-04-19 添加评论 免费帖 --> 分...

来源: Laya_社区 发布时间: 20170419

16. 图片mask失效问题. [ 86%]

...toimg.mask=maskimg;    photoimg.loadImage(imgn,0,0,500,500);    Laya.timer.once(1000, this, function():void{     maskimg.loadImage("http://img.diyphoto.cn/Mask/im ... ot%3B,0,0,500,500);         }); 延时加载  的效果. 模拟加载的东西很多的时候 2016-09-23 0 8 分享...

来源: Laya_社区 发布时间: 20160923

17. laya.utils.Timer [ 86%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TimerProperties | Methods Packagelaya.utilsClasspublic class TimerInheritanceTimer Object Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Public Properties Pr...

来源: laya_api 发布时间: 20170929

18. laya.utils.Timer [ 86%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TimerProperties | Methods Packagelaya.utilsClasspublic class TimerInheritanceTimer Object Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Public Properties Pr...

来源: Laya2.0_api 发布时间: 20190513

19. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 82%]

... 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

20. JQ集成到Laya二次封装 [ 81%]

...( JQ(this).siblings(aWater).hide() );//指定数组范围 - 隐藏 // Laya.timer.once(1000,this,function(){ // JQ(aWater).show();//全部显示; // }) // console.log(JQ(this).index(aWater)); }) //Laya.timer.once(3000,this,function(){ // JQ(aWater).off('click');//解除绑定 - 3秒后没有该点...

来源: Laya_社区 发布时间: 20171123