大约有 3 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0012 秒)
... Laya.Handler; export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "../../res/skeleton/robot/robot.bin"; private ROBOT_TEXTURE_PATH: string = "../../res/skeleton/robot/texture.png"; constructor() { Laya.init(100, 100); var assets: Array = []; assets.push({ url: this.ROBOT_DATA_PATH,...
来源: Laya_示例 发布时间: 20241124
...): void { console.log("加载进度: " + progress); } private onError(err: String): void { console.log("加载失败: " + err); } } } new laya.Loader_ProgressAndErrorHandle();package { import laya.events.Event; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; public c...
来源: Laya_示例 发布时间: 20241124
...ath(scene:Scene):void { for (var i:int = 0; i < pointCount; i++) { var str:String = "path" + i; path.push((scene.getChildByName('Scenes').getChildByName('Area').getChildByName(str) as MeshSprite3D).transform.localPosition); } } } }
来源: Laya_示例 发布时间: 20241124