大约有 19 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0058 秒)
...reenMode = Laya.Stage.SCREEN_NONE; initShader(); var scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/terrain/terrain.ls")); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-38, 180, 0), false, false); camera.transform.trans...
来源: Laya_示例 发布时间: 20251130
...系统,用于后面整体播放 for (var i = 0, len = this._particle.numChildren; i < len; i++) { var child:Node = this._particle.getChildAt(i); if (child instanceof Laya.ShuriKenParticle3D) { this._shuriKenParticle3D.push(child); this._shurikenParticleSystem.push(child.particleSystem); } } thi...
来源: Laya3.0_文档 发布时间: 20251010
...括子节点下 searchButton(ui: Laya.Node) { for (let i = 0; i < ui.numChildren; i++) { let child = ui.getChildAt(i); if (child instanceof Laya.Button) { console.log("发现Button"); this.onButtonScaleEvent(child); } else { //查找子节点 this.searchButton(child); } } } //处理按钮缩放...
来源: Laya3.0_文档 发布时间: 20251010
...r.getGameObjectData (UnityEngine.GameObject gameObject, .JSONObject parentsChildNodes, Boolean statisticalCount) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, .JSONObject parentsChildNodes, Boolean statisticalCount) LayaExport.DataManager.getGameObjectData (UnityEngine...
来源: Laya_社区 发布时间: 20170428
... at EventEmitter.emit (events.js:210:5) 31944 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 31944 verbose stack at ChildProcess.emit (events.js:210:5) 31944 verbose stack at maybeClos...
来源: Laya_社区 发布时间: 20200211
...Box</span><span>欢迎你的加入</span>" Laya.stage.addChild(div);2、获取Html文本的实际内容、获取html文本的实际宽高(contextWidth、contextHeight) 示例如下:var htmlDiv:HTMLDivElement=new HTMLDivElement(); var html:String = "<span color='#e3d26a'>...
来源: Laya_社区 发布时间: 20161027
...; if (comp != null) { lists.push(comp); } for (var i = 0; i < sprite.numChildren; i++) { let child = sprite.getChildAt(i) as Sprite; this.findCompents(lists, child, componentType); } } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake():...
来源: Laya3.0_文档 发布时间: 20251010
... ```json const {watch ,task } = require("gulp"); const {exec} = require("child_process"); function compile(cb) { //执行编译命令 layaair2-cmd compile let process = exec("layaair2-cmd compile"); process.stdout.on("data",(data)=>{ console.log(data); }); process.stderr.on("data",(data)=>{ console....
来源: Laya2.0_文档 发布时间: 20210715
...lt 0 01-06 17:34:41.557 335 335 I C02c11/APPSPAWN: [appspawn_service.c:581]child process com.layabox.game success pid 23051 01-06 17:34:41.557 335 335 I C02c11/APPSPAWN: [appspawn_service.c:102]Add com.layabox.game, pid=23051 success 01-06 17:34:41.557 335 335 I C02c11/APPSPAWN: [appspawn_service.c:...
来源: Laya_社区 发布时间: 20250106