大约有 237 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
...: 为啥我的回复不见了, 很简单,你的清理函数有问题 删除之后index增加了导致有些没清理成功。 我在你的代码里加了个函数clearMonster你可以试试。并吧battlescene做成了全局,可以在控制台控制 2024-04-23 0 2 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20240418
...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
...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
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,...
来源: laya_api 发布时间: 20170929
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁当前动画 Skeleton destroyChildren():void 销毁所有子对象,不销毁自己本身。 Nod...
来源: laya_api 发布时间: 20170929
...令集合,能减少大量节点创建消耗)。removechild只是单纯的删除子节点 希望答案能对你有帮助! 2017-12-21 1 0 分享 微博 QZONE 微信 cheche062 赞同来自: qq771472501 destory是元素彻底清除,包含clear, removechild, removechild只是暂时移除离...
来源: Laya_社区 发布时间: 20171221
...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
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等...
来源: Laya2.0_api 发布时间: 20190513
...导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] AsynDialog destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node drawToCanvas(c...
来源: laya_api 发布时间: 20170929
...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