大约有 255 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)
Laya_社区(70) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya2.0_示例(6) Laya2.0_文档(3) Laya_示例(3) Laya3.0_文档(2)
Laya.stage.addChild有没有 Laya.stage.removeChild 我现在会使用Laya.stage.addChild了 有没有 类似Laya.stage.removeChild这样的函数,把舞台的场景移除掉? 2018-02-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180201
Dialog和View用destroy和Laya.stage.removeChild有什么区别? Dialog和View用destroy和Laya.stage.removeChild有什么区别? 2016-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自:...
来源: Laya_社区 发布时间: 20161016
...容相关的链接 提交 1 个回复 189*****192 赞同来自: Laya.stage.removeChild 试一试 反正你的是加载在Laya.stage 如果不是 通过父对象删除 2017-10-24 0 5 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wuzhe...
来源: Laya_社区 发布时间: 20171024
...(); 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
...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
...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
...let viewIns = this; function goGameWorld() { videoElmt.pause(); Laya.stage.removeChild(reference); Laya.Browser.removeElement(videoElmt); // Laya.Browser.document.body.removeChild(videoElmt); Laya.Browser.removeElement(tipElmt); // Laya.Browser.document.body.removeChild(tipElmt); viewIns.removeSelf(...
来源: Laya_社区 发布时间: 20180802
..."; } dispose() { Laya.Laya.stage.offAll(Laya.Event.CLICK); Laya.Laya.stage.removeChild(this.label); } } new Physics_Physics_Bridge();import { Laya } from "Laya"; import { Sprite } from "laya/display/Sprite"; import { Stage } from "laya/display/Stage"; import { Event } from "laya/events/Event"; impor...
来源: Laya2.0_示例 发布时间: 20240930
...ene.addChild(map); 4.切换页面 private playGame(): void { Laya.stage.removeChild(this.welcomePanel); this.gamePanel = new GamePanel();//不管是不是重新new的,模型一直在 Laya.stage.addChild(this.gamePanel); } private playWelcome(): void { Laya.stage.removeChild(this.gamePanel); this....
来源: Laya_社区 发布时间: 20180411
...Point(targetPosition.x, targetPosition.y)) { this.addSegment(); Laya.stage.removeChild(food); foods.splice(i, 1); } } } produceFood() { const Sprite = Laya.Sprite; // 最多五个食物同屏 if (foods.length == 5) return; let food = new Sprite(); Laya.stage.addChild(food); foods.push(food); const f...
来源: Laya2.0_示例 发布时间: 20240930