大约有 784 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
...不销毁自己本身。 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...
来源: Laya2.0_api 发布时间: 20190513
... 添加动画片段。 Animator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getClip(playName:String):AnimationClip 通过播放名字获取动画片段。 Animator getClipCount():int 获取动画片段个数。 Animator hasListener(type:String):Boolean 检查 Ev...
来源: laya_api 发布时间: 20170929
...ed from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调...
来源: Laya3.0_api 发布时间: 20231102
...不销毁自己本身。 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...
来源: Laya2.0_api 发布时间: 20190513
...ed from 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
...不销毁自己本身。 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...
来源: Laya2.0_api 发布时间: 20190513
...ed from 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
...不销毁自己本身。 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...
来源: Laya2.0_api 发布时间: 20190513
...添加新回复 发起人 avpvsdoom 相关问题 分享:自定义事件派发与侦听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 用了第三方socket类 项目在IDE上可以连接...
来源: Laya_社区 发布时间: 20181207
...LayaAir引擎中用 HttpRequest 继承的是 EventDispatcher,具有事件派发的功能。加上本身具备发送请求的功能。我们写个简单的例子来看下用法: class LayaSample { constructor() { //创建HttpRequest对象 let http: Laya.HttpRequest = new Laya.HttpRequest(); //设...
来源: Laya3.0_文档 发布时间: 20250104