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

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

1. 关于removechild、destory、clear的问题 [ 100%]

关于removechild、destory、clear的问题 laya这几个与清除有关的总也闹不清,sprite的destory   与   graphics下的clear   以及   父元素removechild   的方法都能达到清理sprite的效果,有的时候都不知道用哪个会不占内存,哪个不用再重新建...

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

2. Dialog和View用destroy和Laya.stage.removeChild有什么区别? [ 99%]

Dialog和View用destroy和Laya.stage.removeChild有什么区别? Dialog和View用destroy和Laya.stage.removeChild有什么区别? 2016-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自:...

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

3. Laya.stage.addChild有没有 Laya.stage.removeChild [ 99%]

Laya.stage.addChild有没有 Laya.stage.removeChild 我现在会使用Laya.stage.addChild了 有没有 类似Laya.stage.removeChild这样的函数,把舞台的场景移除掉? 2018-02-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

4. 场景切换问题 [ 93%]

...容相关的链接 提交 1 个回复 189*****192 赞同来自: Laya.stage.removeChild 试一试  反正你的是加载在Laya.stage  如果不是 通过父对象删除   2017-10-24 0 5 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wuzhe...

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

5. sprite设置了cacheas,removechild再addchild之后原先设置的cacheas无效,通过监测面板可以看到。请问这是不是bug? [ 92%]

sprite设置了cacheas,removechild再addchild之后原先设置的cacheas无效,通过监测面板可以看到。请问这是不是bug? 2017-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ymsdandan ...

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

6. laya.d3.animation.AnimationNode_API3.0 [ 88%]

...ethods addChild clone cloneTo getChildByIndex getChildByName getChildCount removeChild Constructors constructor new AnimationNode(): AnimationNode Defined in laya/d3/animation/AnimationNode.ts:22 创建一个新的 AnimationNode 实例。 Returns AnimationNode Properties name name: string | null = n...

来源: Laya3.0_api 发布时间: 20231102

7. 安卓手机输入不了中文 [ 87%]

...d {             input.parentElement && (inputContainer.removeChild(input));             area.parentElement && (inputContainer.removeChild(area));             /// 加入下面两句             input = inputElement = Browser.createElemen...

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

8. 场景调用offAll会报错。 [ 84%]

...cene = new Scene(); Laya.stage.addChild(scene); scene.offAll(); Laya.stage.removeChild(scene);  scene = new Scene(); Laya.stage.addChild(scene); scene.offAll(); Laya.stage.removeChild(scene); scene = new Scene(); Laya.stage.addChild(scene); Laya.stage.removeChild(scene);   报错: Uncaught TypeE...

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

9. Sprite-新手引导 [ 83%]

...(); function nextStep() { if (guideStep == guideSteps.length) { Laya.stage.removeChild(guideContainer); Laya.stage.removeChild(tipContainer); } else { var step = guideSteps[guideStep++]; hitArea.unHit.clear(); hitArea.unHit.drawCircle(step.x, step.y, step.radius, "#000000"); interactionArea.graphics...

来源: Laya_示例 发布时间: 20240930

10. Sprite-新手引导 [ 83%]

...xtStep(); } nextStep() { if (guideStep === guideSteps.length) { Laya.stage.removeChild(guideContainer); Laya.stage.removeChild(tipContainer); return; } let step = guideSteps[guideStep++]; hitArea.unHit.clear(); hitArea.unHit.drawCircle(step.x, step.y, step.radius, "#000000"); interactionArea.graphic...

来源: Laya2.0_示例 发布时间: 20240930