大约有 733 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
Laya_社区(331) Laya3.0_api(157) laya_api(106) Laya2.0_api(98) Laya3.0_文档(24) Laya2.0_文档(16) Laya2.0_示例(1)
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等...
来源: Laya2.0_api 发布时间: 20190513
...Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispa...
来源: Laya3.0_api 发布时间: 20231115
... destroy destroy(): void Defined in laya/components/AnimatorState2D.ts:285 删除 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any ...
来源: Laya3.0_api 发布时间: 20231115
...加载800*600的ui,然后隐藏ui的场景,模拟游戏中加载ui不删除隐藏显示 1.缓存的ui越多,增长的越多,如果调用的destroy删除则正常 2.假设20个缓存的ui里都有置灰按钮、图片、修改颜色等场景,可以对比出新老版本的内存差异 创...
来源: Laya_社区 发布时间: 20250729
...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on(type:String, caller:*, listener:Function, args:Arra...
来源: laya_api 发布时间: 20170929
...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on(type:String, caller:*, listener:Function, args:Arra...
来源: laya_api 发布时间: 20170929
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等...
来源: laya_api 发布时间: 20170929
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等...
来源: laya_api 发布时间: 20170929
...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为...
来源: Laya2.0_api 发布时间: 20190513
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,...
来源: laya_api 发布时间: 20170929