• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 457 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)

271. 淘宝创意互动分包指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 57%]

...行分包。 ### 使用建议 1. 对体积较大的小程序项目,或JS执行时间过长,建议使用此功能。 2. 主包保留最常用的核心页面(首页、tabBar 页面和其他公共资源),将小程序中不经常使用的页面放到多个分包中,启动时加载主...

来源: Laya2.0_文档 发布时间: 20210715

272. laya.ui.Panel [ 56%]

...: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

273. laya.d3.core.light.DirectionLight_API3.0 [ 56%]

...延迟计算数据。 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

274. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 56%]

...der.create()`方法说明。 从对象池内创建一个Handler,默认会执行一次并立即回收。 也就是说,如果需要多次触发这个回调方法,那么就需要对`Laya.Hanlder.create()`方法中的`once`参数设置为`false`。或者用`new Laya.Handler()`的方式创建。 ...

来源: Laya2.0_文档 发布时间: 20210715

275. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 56%]

...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

276. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 56%]

...延迟计算数据。 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

277. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 56%]

...der.create()`方法说明。 从对象池内创建一个Handler,默认会执行一次并立即回收。 也就是说,如果需要多次触发这个回调方法,那么就需要对`Laya.Hanlder.create()`方法中的`once`参数设置为`false`。或者用`new Laya.Handler()`的方式创建。 ...

来源: Laya2.0_文档 发布时间: 20210715

278. laya.ui.TextInput [ 55%]

...: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

279. 2.0动画的几个问题 [ 55%]

...Time有点消耗而且不精确。 2,动画播放完成后,如何立即执行下一个动作,问题1类似。尝试过读取animatorPlayState.duration,读取到的动画时长并不准确,好像并会延后,难道是异步? 3,Unity里做好的动画状态切换,导入Laya后并没...

来源: Laya_社区 发布时间: 20190620

280. laya.d3.core.Camera [ 55%]

...: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