大约有 52 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0095 秒)
...动画,手动制作制作时间轴动画),这样可以避免资源的重复使用 2、你也可以使用龙骨动画,一套龙骨可以制作 多套动作,同时可以实现换装功能(譬如http://layaair.ldc.layabox.com ... leton),动画的具体制作请参考Dragonbones官方的...
来源: Laya_社区 发布时间: 20170909
...on String 动作名称 */ _proto.playAction = function(action){ //如果是重复的动作 不执行 if(this.action == action)return; this.action = action; this.body.play(0, true, this.action); } _proto.onLoop = function(){ } //开始跳 _proto.gotoJump = function(){ this.playAction(Player.JUMP); } ...
来源: Laya_社区 发布时间: 20160801
...on String 动作名称 */ _proto.playAction = function(action){ //如果是重复的动作 不执行 if(this.action == action)return; this.action = action; this.body.play(0, true, this.action); } _proto.onLoop = function(){ //玩家开始下落 this.y += this.vy; this.vy += this.downSpeed; //控制...
来源: Laya_社区 发布时间: 20160801
...ation("GameRole.ani") } } _proto.playAction = function(action){ //如果是重复的动作 不执行 if(this.action == action)return; this.action = action; this.body.play(0, true,this.type+"_" + this.action); } })(); 2018-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180911
...id Inherited from Node.frameLoop Defined in laya/display/Node.ts:588 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Parameters delay: number 间隔几帧(单位为帧)。 caller: any 执行域(this)。 method: Function 结束时的回调方法。 Default value args: a...
来源: Laya3.0_api 发布时间: 20231115
...色行走路线,通过Tween来执行角色位置改变的 //开启定时重复执行 Laya.timer.loop(40, this, this.loopfun); private loopfun(): void { //resPath,角色需要移动的每个世界坐标位置数组 if (this.resPath && this.index < this.resPathLength) { //AStar寻路位...
来源: Laya3.0_文档 发布时间: 20230303
...method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。...
来源: laya_api 发布时间: 20170929
...method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。...
来源: Laya2.0_api 发布时间: 20190513
...下,如下图所示。其他后续操作与菜单式安装一样。就不重复介绍了。 ![img](img/2.3.3-1.png) ##### 插件导入安装的提醒 对于Unity还不太熟悉的开发者,需要提醒的是,LayaAir引擎Unity插件,不是一次导入所有项目通用,本质上这并不...
来源: Laya2.0_文档 发布时间: 20210714
...启用,粒子系统在上述持续时间结束时,再次启动并继续重复循环 Play On Awake:如果启用,粒子系统会在创建对象时自动启动 Start Delay:启用后系统开始发射前的延迟时间,可选择两种延迟方式 Constant 固定时间 Random Between Two Cons...
来源: Laya3.0_文档 发布时间: 20240117