大约有 457 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
...行分包。 ### 使用建议 1. 对体积较大的小程序项目,或JS执行时间过长,建议使用此功能。 2. 主包只保留最常用的核心页面(首页、tabBar 页面和其他公共资源),将小程序中不经常使用的页面放到多个分包中,启动时只加载主...
来源: Laya2.0_文档 发布时间: 20210715
...: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
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...der.create()`方法说明。 从对象池内创建一个Handler,默认会执行一次并立即回收。 也就是说,如果需要多次触发这个回调方法,那么就需要对`Laya.Hanlder.create()`方法中的`once`参数设置为`false`。或者用`new Laya.Handler()`的方式创建。 ...
来源: Laya2.0_文档 发布时间: 20210715
...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...
来源: Laya3.0_api 发布时间: 20231115
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231102
...der.create()`方法说明。 从对象池内创建一个Handler,默认会执行一次并立即回收。 也就是说,如果需要多次触发这个回调方法,那么就需要对`Laya.Hanlder.create()`方法中的`once`参数设置为`false`。或者用`new Laya.Handler()`的方式创建。 ...
来源: Laya2.0_文档 发布时间: 20210715
...: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
...Time有点消耗而且不精确。 2,动画播放完成后,如何立即执行下一个动作,问题1类似。尝试过读取animatorPlayState.duration,读取到的动画时长并不准确,好像并会延后,难道是异步? 3,Unity里做好的动画状态切换,导入Laya后并没...
来源: Laya_社区 发布时间: 20190620
...: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