大约有 781 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
...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
...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
...1-01-25 16:45 会好一些吗? 184*****121 • 2021-01-25 17:15 我这边重复测试了一下 都返回了回调事件 如果你也听说 • 2021-01-26 10:57 @184*****121:模拟器的fixedTimeStep为默认值的话基本上没问题 我现在设置的是1.0/120.0 就很多时候都不会回调...
来源: Laya_社区 发布时间: 20210106
...我在Shader代码中加入 u_AmbientColor 的定义的话,又会说我重复定义 u_AmbientColor 之后我又去引擎的github中找了这个包含 u_AmbientColor 定义的 glsl文件,globalIllumination.glsl, 引入这个文件也没办法解决。 实在想不明白,有没有大佬知...
来源: Laya_社区 发布时间: 20230727
...的回收。不用的资源或数据,一定要置为null。 三、避免重复对象引用。尽可能要去用对象池,不要总new 对象。 四、多次实例对象引用的时候,要先把实例赋到变量里,再从变量中引用。还是引用问题,避免多次引用,和交替...
来源: Laya_社区 发布时间: 20151102
...信 158*****985 赞同来自: 大神,我添加点击事件了,会一直重复执行,我在listUI里面下拉一次就会多执行一次。一直累加,大神有解决办法吗? 2019-06-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...
来源: Laya_社区 发布时间: 20171128
...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
... 赞同来自: 问题已解决,但是原因很奇怪,同一个animation重复创建的时间不能太快。 通过for循环快速创建了10个wheel的同时,每个wheel也创建了1个animation,这个速度很快。 但是我把程序改为每60帧(1s)或者每10帧创建一个wheel...
来源: Laya_社区 发布时间: 20190312
...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 发布时间: 20170603