大约有 444 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya3.0_api(152) Laya_社区(125) Laya2.0_api(67) laya_api(55) Laya2.0_文档(28) Laya3.0_文档(16) Laya2.0_示例(1)
...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Parameters Default value destroyChild: boolean = true (可选)是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁...
来源: Laya3.0_api 发布时间: 20231115
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
...(不变形),剩下的高度部分需要自己处理 第三步、监听引擎 RESIZE 事件,在这个里面对顶部、底部对齐的所有UI的Y轴坐标及高度进行调整 Laya.stage.on(Laya.Event.RESIZE, this, this.onResize); 调整方法为,根据IDE里该UI的对齐模式相应...
来源: Laya_社区 发布时间: 20180404
...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Even...
来源: Laya2.0_api 发布时间: 20190513
.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
...图片资源丢失 TextInput控件。想在边输入的过程中。边做监听。需要怎么做吗? 希望能介绍下编译as的大致过程 如何在chrome console 里模拟canvas点击事件 怎么在模拟点击事件 Laya升级到2.5之后,文字缩放动画出现抖动 模型动画抖动...
来源: Laya_社区 发布时间: 20180226
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
...进度: ${progress.toFixed(2)}%\n`; // 加载完成后清除进度事件帧监听 if (progress == 100) { this.logger.text = `当前下载进度: 100%\n`; Laya.timer.clear(this, this.onHttpRequestProgress); console.log("加载进度完成,清除进度事件帧听"); } } /** * 请求完成时触发...
来源: Laya3.0_文档 发布时间: 20251010
...制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Node destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 Eve...
来源: laya_api 发布时间: 20170929