大约有 422 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0040 秒)
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...关的链接 提交 1 个回复 Laya_XS 赞同来自: 目前URL.formatURL接收的参数如果传入的非法url都会默认返回null path.下个版本我们会处理这个问题,目前的解决方案你两种,一种是手动修改 URL.formatURL 针对非法url的返回处理,第二种方法...
来源: Laya_社区 发布时间: 20210708
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...么办法都试过了~ http 请求 once 的 回调参数,如何传递和接收? 创建树Tree 该怎么回调mouseHandler 形参该传什么 请教一下,页面元素在不同的设备上,怎么让它居中显示呢或者自适应宽度? 如何通过代码控制prefab上面的时间轴动...
来源: Laya_社区 发布时间: 20180131
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...后,主域load的资源中,有一张PNG大图子域名那边怎么也接收不到,其他的config和音效资源都能通过onMessage收到,请问这是什么原因啊? Request failed Status:404 text:undefined 游戏运行一会出现 getAMesh resizeBuffer Array buffer allocation failed /c...
来源: Laya_社区 发布时间: 20190614
...。 Event.COMPLETE:请求完成后触发,表示响应数据已经完全接收。 Event.ERROR:请求出错时触发,常用于网络故障等异常情况。 2.2 实战HTTP响应 在发送HTTP请求之后,我们直接通过异步事件的帧听,在事件回调方法里处理响应结果。...
来源: Laya3.0_文档 发布时间: 20250214