大约有 374 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0036 秒)
Laya3.0_api(153) laya_api(106) Laya2.0_api(98) Laya_社区(13) Laya3.0_文档(2) Laya2.0_示例(1) Laya_示例(1)
...ll):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type:String — 事件的类型。 caller:* — 事件侦听函数的执行域。 listener:Function — 事件侦听函数。 args:Array (de...
来源: Laya_社区 发布时间: 20170308
...:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 isCreateFromURL isCreateFromURL(url: string): boolean Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
...(texture) { // 使用texture console.log("加载结束"); } // 加载进度侦听器 function onLoading(progress) { console.log("加载进度: " + progress); } function onError(err) { console.log("加载失败: " + err); } })();module laya { import Event = Laya.Event; import Loader = Laya.Loader; im...
来源: Laya_示例 发布时间: 20251209
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String):void 加载指定地址的图片。 Texture moveUV(offsetX:Number, offset...
来源: laya_api 发布时间: 20170929
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D...
来源: Laya2.0_api 发布时间: 20190513
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler = null):void 加载指定地址的图片。 Texture move...
来源: Laya2.0_api 发布时间: 20190513
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, type:String = null, cache:Boolean = true, group:String = null, ignoreCache:B...
来源: laya_api 发布时间: 20170929
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D...
来源: laya_api 发布时间: 20170929
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D...
来源: laya_api 发布时间: 20170929
...:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 isCreateFromURL isCreateFromURL(url: string): boolean Inherited from ...
来源: Laya3.0_api 发布时间: 20231115