大约有 33 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0027 秒)
...//玩家 this.body = null; //跳 统计数 this.jumpCount = 0; //跳 最大次数 如果想三连跳 改成 3 即可 this.jumpCountMax = 2; Player.__super.call(this); this.init(); } //玩家动作 //跑 Player.RUN = "player_run"; //飞 Player.FLY = "player_fly"; //暂时没有用到的动作 Player....
来源: Laya_社区 发布时间: 20160801
...理的资源优化技术,能够有效减少 DrawCall、降低纹理切换次数、减少 I/O 请求,是 2D 产品中提升渲染性能与显存利用率的关键手段之一。 在LayaAir3.4.0版本之前,引擎中使用图集需要开发者提前制作好图集文件,或是通过配置自...
来源: Laya3.0_文档 发布时间: 20260131
...播放状态如下: /** * 播放状态的归一化时间,整数为循环次数,小数为单次播放时间。 */ get normalizedTime(): number { return this._normalizedTime; } /** * 当前动画的持续时间,以秒为单位。 */ get duration(): number { return this._duration; } /** * 动画...
来源: Laya3.0_文档 发布时间: 20251010