大约有 2 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
... //加载引擎需要的资源 Laya.loader.load("../atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例UI界面 var testView:ui.test.TestPageUI = new ui.test.TestPageUI(); Laya.stage.addChild(testView); } } new LayaUISample; WorkerLoader.workerPath = "libs...
来源: Laya3.0_文档 发布时间: 20251010
... constructParams: [64, 64, 1, false, true] } ]; Laya.loader.load(resource, Handler.create(this, this.onLoadFinish)); } private onLoadFinish(): void { //初始化3D场景 this.scene = (<Scene3D>Laya.stage.addChild(Loader.createNodes("res/threeDimen/scene/TerrainScene/XunLongShi.ls"))); //根据...
来源: Laya3.0_文档 发布时间: 20230303