大约有 9 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
...其中的某个子协议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Socket(host:String = null, port:int = 0, byteClass:Class = null) 创建新的 Socket 对象。...
来源: laya_api 发布时间: 20170929
...先登录 发起人 1589861985用户 相关问题 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target TextInput重写onFocus和onBlur事件监听不到 关于遍历产生的sprit...
来源: Laya_社区 发布时间: 20231012
...帧率下降,或者事件风暴(Enter/Stay/Exit)导致脚本与事件派发变慢。 推荐先看:T_Physics_Simulation(模拟本身)、T_Physics_UpdateNode(同步)、T_PhysicsEvent(派发)与 C_PhysicsEventCount(事件量),快速判断问题属于“模拟算不过来”还...
来源: Laya3.0_文档 发布时间: 20260128
...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
...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
...器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOn...
来源: laya_api 发布时间: 20170929
..., offsetY:Number):TextureSprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOn...
来源: Laya2.0_api 发布时间: 20190513
...器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOn...
来源: 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 发布时间: 20231115