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

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

1. laya.utils.Handler_API3.0 [ 100%]

...的执行。 Hierarchy Handler Index Constructors constructor Properties args caller method once Methods clear recover run runWith setTo create Constructors constructor new Handler(caller?: Object | null, method?: Function | null, args?: any[] | null, once?: boolean): Handler Defined in laya/utils/H...

来源: Laya3.0_api 发布时间: 20231115

2. laya.utils.Timer_API3.0 [ 99%]

... Returns number Methods callLater callLater(caller: any, method: Function, args?: any[]): void Defined in laya/utils/Timer.ts:278 延迟执行。 Parameters caller: any 执行域(this)。 method: Function 定时器回调函数。 Default value args: any[] = null 回调参数。 Returns void clear cl...

来源: Laya3.0_api 发布时间: 20231115

3. laya.utils.Delegate_API3.0 [ 98%]

... Index Constructors constructor Accessors count Methods add clear clearForTarget invoke once remove Constructors constructor new Delegate(): Delegate Defined in laya/utils/Delegate.ts:5 Returns Delegate Accessors count get count(): number Defined in laya/utils/Delegate.ts:77 Returns number Methods a...

来源: Laya3.0_api 发布时间: 20231115

4. 定时器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 97%]

...aller 执行域(this)。 * @param method 定时器回调函数。 * @param args 回调参数。 * @param coverBefore 是否覆盖之前的延迟执行,默认为 true 。 */ frameOnce(delay: number, caller: any, method: Function, args: any[] = null, coverBefore: boolean = true): void { this._create...

来源: Laya3.0_文档 发布时间: 20251010

5. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 96%]

...e: boolean, repeat: boolean, delay: number, caller: any, method: Function, args: Array<any>, coverBefore: boolean): void; /** * 定时执行一次。 * @param delay 延迟时间(单位为毫秒)。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 * @param args 回调...

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

6. 分享个资源加载的方法,类似白鹭的加载方式 [ 95%]

...: any){ Laya.loader.load("res/" + srcName,new Laya.Handler(caller,function(arg: any){ if(arg){ RES.groups = arg.groups; RES.resources = arg.resources; RES.getInstance().event(RES.ONLOADEDRESJSON,arg); }else{ RES.getInstance().event(RES.ONLOADERRORRESJSON,arg); } })) } /** * groupName 资源组名称...

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

7. laya.events.EventDispatcher_API3.0 [ 95%]

...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDis...

来源: Laya3.0_api 发布时间: 20231115

8. laya.display.Node_API3.0 [ 95%]

...位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Defined in laya/display/Node.ts:251 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Defined in laya/display/Node.ts:950 添加组...

来源: Laya3.0_api 发布时间: 20231115

9. laya.device.Shake_API3.0 [ 93%]

...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...

来源: Laya3.0_api 发布时间: 20231115

10. laya.d3.webxr.core.AxiGamepad_API3.0 [ 93%]

...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...

来源: Laya3.0_api 发布时间: 20231115