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

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

31. EventDispatcher接收不到参数 [ 88%]

...); } //侦听事件 Dispatcher.AddNotice = function(InName,caller,listener,arg){ //监听事件 Dispatcher.eventDispatcher.on(InName,caller,listener,(arg==null)?null:([arg])); console.log("arg-->"+[arg]); } return Dispatcher; })(Laya.EventDispatcher);   EventDispatcher接收不到参数    派...

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

32. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 88%]

...e runXRRenderLoop setReferenceSpaceTypeAsync updateRenderStateAsync updateTargetFrameRate Properties baseReferenceSpace baseReferenceSpace: any Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:24 baseRefernceSpace currentFrame currentFrame: any Defined in laya/d3/WebXR/core/WebXRSessionManager.t...

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

33. laya.components.AnimatorController2D_API3.0 [ 87%]

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

34. laya.device.motion.Accelerator [ 87%]

...听器。 EventDispatcher  on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦...

来源: laya_api 发布时间: 20170929

35. laya.resource.AtlasResource_API3.0 [ 87%]

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

36. laya.d3.component.animator.AnimatorController_API3.0 [ 87%]

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

37. laya.device.motion.Accelerator [ 87%]

... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher  on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listener:Function, args:A...

来源: Laya2.0_api 发布时间: 20190513

38. laya.d3.core.Sprite3D_API3.0 [ 87%]

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

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

39. laya.resource.Prefab_API3.0 [ 87%]

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

40. laya.display.Node [ 87%]

...t):Node 添加子节点到指定的索引位置。 Node  addChildren(... args):void 批量增加子节点 Node  addComponent(type:Class):* 添加组件。 Node  addComponentIntance(comp:Component):* 添加组件实例。 Node  addInputChild(node:Node):NodeNode  callLater(method:Function, a...

来源: Laya2.0_api 发布时间: 20190513