• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 237 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)

121. [LayaAir2]性能统计面板中的渲染节点Sprite数量会不断增加,游戏越来越卡 [ 78%]

...: 为啥我的回复不见了, 很简单,你的清理函数有问题 删除之后index增加了导致有些没清理成功。 我在你的代码里加了个函数clearMonster你可以试试。并吧battlescene做成了全局,可以在控制台控制   2024-04-23 0 2 分享 微博 QZONE 微信...

来源: Laya_社区 发布时间: 20240418

122. laya.d3.core.light.PointLight_API3.0 [ 78%]

...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

123. laya.d3.core.light.SpotLight_API3.0 [ 77%]

...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

124. laya.ui.Tree [ 77%]

...导致在加速器上无法渲染。 注意不要在此函数内增加或删除节点,否则会对树节点遍历造成影响。 Sprite  destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,...

来源: laya_api 发布时间: 20170929

125. laya.ani.bone.Skeleton [ 77%]

...导致在加速器上无法渲染。 注意不要在此函数内增加或删除节点,否则会对树节点遍历造成影响。 Sprite  destroy(destroyChild:Boolean = true):void[override] 销毁当前动画 Skeleton destroyChildren():void 销毁所有子对象,不销毁自己本身。 Nod...

来源: laya_api 发布时间: 20170929

126. 关于removechild、destory、clear的问题 [ 77%]

...令集合,能减少大量节点创建消耗)。removechild只是单纯的删除节点 希望答案能对你有帮助!   2017-12-21 1 0 分享 微博 QZONE 微信 cheche062 赞同来自: qq771472501 destory是元素彻底清除,包含clear, removechild,   removechild只是暂时移除离...

来源: Laya_社区 发布时间: 20171221

127. laya.d3.core.RenderableSprite3D_API3.0 [ 77%]

...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

128. laya.display.Input [ 77%]

...导致在加速器上无法渲染。 注意不要在此函数内增加或删除节点,否则会对树节点遍历造成影响。 Sprite destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等...

来源: Laya2.0_api 发布时间: 20190513

129. laya.ui.AsynDialog [ 77%]

...导致在加速器上无法渲染。 注意不要在此函数内增加或删除节点,否则会对树节点遍历造成影响。 Sprite  destroy(destroyChild:Boolean = true):void[override] AsynDialog destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node drawToCanvas(c...

来源: laya_api 发布时间: 20170929

130. laya.d3.core.light.DirectionLight_API3.0 [ 77%]

...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