大约有 33 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0055 秒)
... 5,y垂直方向 5,rotation旋转角度 10 * @param view * @param time 持续时间 以毫秒为单位 */ function vibrateScreen(view: Laya.Sprite, time?: number): void { if (vibrateObj.view) { Laya.timer.clearAll(vibrateObj); //说明上一...
来源: Laya_社区 发布时间: 20190401
怎么判断time是否存在,再清除 就是我需要再添加定时器之前做判断,如果存在,就clear, if(xxxxx){ Laya.timer.clear(this, this.showUserHandCard); } Laya.timer.loop(150, this, this.showUserHandCard, null, false); 这个xxx怎么判断 2018-03-21 添加评论...
来源: Laya_社区 发布时间: 20180321
...辑器:LayaAir IDE 语言:TS 代码: /** * 震动时间 * @param time 毫秒数 */ function vibrate(time: number) { let count = time / 15; let index = 0; let obj = { count: count, index: index }; Laya.timer.loop(16, obj, function () { ...
来源: Laya_社区 发布时间: 20190401
...I DocumentationAll Packages | All Classes | Index | Frames No Frames TimeLineProperties | Methods | Events Packagelaya.utilsClasspublic class TimeLineInheritanceTimeLine EventDispatcher Object TimeLine 是一个用来创建时间轴动画的类。 Public Properties PropertyDefined By sc...
来源: laya_api 发布时间: 20170929
...I DocumentationAll Packages | All Classes | Index | Frames No Frames TimeLineProperties | Methods | Events Packagelaya.utilsClasspublic class TimeLineInheritanceTimeLine EventDispatcher Object TimeLine 是一个用来创建时间轴动画的类。 Public Properties PropertyDefined By sc...
来源: Laya2.0_api 发布时间: 20190513
...onstant 固定值 - Random between Two Constant 数值区间 4. Start Life Time 生命周期 - Constant 固定值 - Random between Two Constant 数值区间 5. Start Speed 粒子速度 - Constant 固定值 - Random between Two Constant 数值区间 6. 3D Start Size - Constant 固定值 - Random betw...
来源: Laya2.0_文档 发布时间: 20200822
... Boolean是否使用随机种子。 ShurikenParticleSystem colorOverLifetime : ColorOverLifetime 获取生命周期颜色,注意:如修改该值的某些属性,需重新赋值此属性才可生效。 ShurikenParticleSystem duration : Number粒子运行的总时长,单位为秒。ShurikenPart...
来源: Laya2.0_api 发布时间: 20190513
...ll.WID,BarCell.WID); private var pos:int = BarCell.WID*0.5; private var endTime:int; private var cdTime:int; public var isCd:Boolean = false; public function CdSprite() { super(); this.scrollRect = rect; this.alpha = 0.85; } public function setSize(bian:int):void{ r = bian / Math.SQRT2; rect = new R...
来源: Laya_社区 发布时间: 20171124
... 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 用Laya.time.loop每1秒递减就可以了,项目开发的问题还需要自己解决! 2018-04-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 hz493565005 相关问...
来源: Laya_社区 发布时间: 20180407
... 是否自动播放。 Frame 当前帧索引。 Loop 是否循环播放。 Time Scale 变速设置。 Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 18:58:09 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010