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

大约有 334 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0046 秒)

1. 节点管理 · LayaAir3.0文档 · LAYABOX [ 100%]

...方法,注意原有的节点将会被移除,但不会销毁 移除 删除节点removeChild(node: Node) 删除节点的时调用此方法,注意节点将会被移除,但不会销毁 从父容器删除自己removeSelf() 在不需要知道父节点的情况下,调用此方法可...

来源: Laya3.0_文档 发布时间: 20230303

2. laya.display.Node [ 98%]

...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象删除指定事件类型的所有侦听器。 EventDispatcher  on(type:String, caller:*, listener:Function, args:Ar...

来源: laya_api 发布时间: 20170929

3. laya.display.Node [ 96%]

...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象删除指定事件类型的所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为...

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

4. 当设置节点的zOrder值0是100,第i个是100-1;找到点击按钮删除最后一个;为什么总是第一个被删除 [ 93%]

...设置节点的zOrder值0是100,第i个是100-1;找到点击按钮删除最后一个;为什么总是第一个被删除 2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 因为...

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

5. 父节点怎么清空自己?删除自己所有的节点。 [ 92%]

父节点怎么清空自己?删除自己所有的节点。 2018-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 he853066732 赞同来自: destroyChildren  方法 2018-04-11 0 0 分享 微博 QZONE 微...

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

6. laya.d3.core.light.DirectionLight [ 92%]

...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象删除指定事件类型的所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为...

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

7. laya.d3.core.light.PointLight [ 92%]

...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象删除指定事件类型的所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为...

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

8. laya.d3.core.light.SpotLight [ 92%]

...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象删除指定事件类型的所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为...

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

9. laya.ui.LayoutBox [ 92%]

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

来源: laya_api 发布时间: 20170929

10. laya.d3.core.Sprite3D [ 91%]

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