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

大约有 304 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0038 秒)

1. laya.events.EventDispatcher [ 100%]

...Texture, TimeLine, Transform3D, TransformUV EventDispatcher 类是可调度事件所有类基类。 Public Methods  MethodDefined By  event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事...

来源: laya_api 发布时间: 20170929

2. laya.events.EventDispatcher [ 99%]

...ket, Sound, SoundChannel, Texture, TimeLine EventDispatcher 类是可调度事件所有类基类。 Public Methods  MethodDefined By  event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事...

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

3. Laya.sprite.on 绑定事件参数问题 [ 96%]

Laya.sprite.on 绑定事件参数问题 on () method  public function on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type:String ...

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

4. 事件管理 · LayaAir3.0文档 · LAYABOX [ 96%]

事件管理1. 认识事件1.1 什么是事件1.2 事件分类2. 引擎内置事件2.1 事件类型 Laya.Event2.2 事件派发 Laya.EventDispatcher2.3 事件处理 Laya.Handler3. 自定义事件事件管理 1. 认识事件 1.1 什么是事件 事件Event指是由系统事先设定、...

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

5. http 请求 once 回调参数,如何传递和接收? [ 96%]

...y = null):EventDispatcher使用 EventDispatcher 对象注册指定类型事件侦听器对象,以使侦听器能够接收事件通知,此侦听事件响应一次后自动移除。 Parameters type:String — 事件类型。   caller:* — 事件侦听函数执行域。   listener:Funct...

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

6. 事件响应函数参数在API中哪里可以查到 [ 94%]

事件响应函数参数在API中哪里可以查到 bg.on("mousemove", this, onMouseMove); function onMouseMove(e) { console.log(e) } 2017-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关链接 提交 1 个回复 Monica - 知识...

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

7. laya.d3.webxr.core.WebXRInput_API3.0 [ 93%]

...put.ts:164 add axis event Parameters index: number axis索引 type: string 事件类型 caller: any 事件侦听函数执行域。 listener: Function 事件侦听函数。 Returns void addButtonEvent addButtonEvent(index: number, type: string, caller: any, listener: Function): void Defined in lay...

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

8. laya.device.motion.Gyroscope_API3.0 [ 92%]

...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...

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

9. laya.display.Node [ 92%]

...毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node  frameOnce(d...

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

10. laya.display.Node [ 92%]

...毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node  frameOnce(d...

来源: laya_api 发布时间: 20170929