{
  "code": "export class AssetPath {\r\n    loadUI() {\r\n        Laya.loader.load([\"res/threeDimen/ui/button.png\"], Laya.Handler.create(this, function () {\r\n            var changeActionButton = Laya.stage.addChild(new Laya.Button(\"res/threeDimen/ui/button.png\", \"切换注视目标\"));\r\n            changeActionButton.size(200, 40);\r\n            changeActionButton.labelBold = true;\r\n            changeActionButton.labelSize = 30;\r\n            changeActionButton.sizeGrid = \"4,4,4,4\";\r\n            changeActionButton.scale(Laya.Browser.pixelRatio, Laya.Browser.pixelRatio);\r\n            changeActionButton.pos(Laya.stage.width / 2 - changeActionButton.width * Laya.Browser.pixelRatio / 2, Laya.stage.height - 100 * Laya.Browser.pixelRatio);\r\n            changeActionButton.on(Laya.Event.CLICK, this, function () {\r\n                this.index++;\r\n                if (this.index % 3 === 1) {\r\n                    this.camera.transform.lookAt(this.box.transform.position, this.upVector);\r\n                }\r\n                else if (this.index % 3 === 2) {\r\n                    this.camera.transform.lookAt(this.cylinder.transform.position, this.upVector);\r\n                }\r\n                else {\r\n                    this.camera.transform.lookAt(this.capsule.transform.position, this.upVector);\r\n                }\r\n            });\r\n        }));\r\n    }\r\n}\r\nAssetPath.MainScene = \"subpackage/LayaScene_main/Conventional/main.ls\";\r\nAssetPath.Player = [\"subpackage/LayaScene_role/Conventional/player1.lh\",\r\n    \"subpackage/LayaScene_role/Conventional/player2.lh\",\r\n    \"subpackage/LayaScene_role/Conventional/player3.lh\",\r\n    \"subpackage/LayaScene_role/Conventional/player4.lh\",\r\n    \"subpackage/LayaScene_role/Conventional/player5.lh\",\r\n    \"subpackage/LayaScene_role/Conventional/player6.lh\",\r\n];\r\nAssetPath.Enemy = \"subpackage/LayaScene_role/Conventional/enemy.lh\";\r\nAssetPath.PlayerShot = \"subpackage/LayaScene_prop/Conventional/PlayerBullet.lh\";\r\nAssetPath.Mound = \"subpackage/LayaScene_prop/Conventional/Tower.lh\";\r\nAssetPath.Barrier = [\r\n    \"subpackage/LayaScene_barrier/Conventional/barrier_1.lh\",\r\n    \"subpackage/LayaScene_barrier/Conventional/barrier_2.lh\",\r\n    \"subpackage/LayaScene_barrier/Conventional/barrier_3.lh\",\r\n    \"subpackage/LayaScene_barrier/Conventional/barrier_4.lh\",\r\n    \"subpackage/LayaScene_barrier/Conventional/move_barrier.lh\",\r\n    \"subpackage/LayaScene_barrier/Conventional/stone_1.lh\",\r\n    \"subpackage/LayaScene_barrier/Conventional/stone_2.lh\",\r\n    \"subpackage/LayaScene_barrier/Conventional/stone_3.lh\",\r\n    \"subpackage/LayaScene_barrier/Conventional/stone_4.lh\",\r\n    \"subpackage/LayaScene_barrier/Conventional/Block1.lh\",\r\n];\r\nAssetPath.Particle = [\r\n    \"subpackage/LayaScene_effect/Conventional/boom.lh\",\r\n    \"subpackage/LayaScene_effect/Conventional/hit.lh\",\r\n    \"subpackage/LayaScene_effect/Conventional/xue.lh\",\r\n];\r\nAssetPath.Config = {\r\n    level: \"level\",\r\n    road: \"road\",\r\n    block: \"block\",\r\n    thing: \"thing\",\r\n    atk: \"atk\",\r\n    rate: \"rate\",\r\n    global: \"global\",\r\n    theme: \"theme\"\r\n};\r\nexport class AppSetting {\r\n    constructor() {\r\n        this._outHitResult = new Laya.HitResult();\r\n        this.outs = new Array();\r\n        this.posX = 0.0;\r\n        this.posY = 0.0;\r\n        this.point = new Laya.Vector2();\r\n    }\r\n    addBoxXYZ(x, y, z) {\r\n        var mat1 = new Laya.BlinnPhongMaterial();\r\n        Laya.Texture2D.load(\"res/threeDimen/Physics/rocks.jpg\", Laya.Handler.create(null, function (tex) {\r\n            mat1.albedoTexture = tex;\r\n        }));\r\n        var sX = Math.random() * 0.75 + 0.25;\r\n        var sY = Math.random() * 0.75 + 0.25;\r\n        var sZ = Math.random() * 0.75 + 0.25;\r\n        var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ));\r\n        this.scene.addChild(box);\r\n        box.meshRenderer.material = mat1;\r\n        this.tmpVector.setValue(x, y, z);\r\n        box.transform.position = this.tmpVector;\r\n        this.tmpVector.setValue(Math.random() * 360, Math.random() * 360, Math.random() * 360);\r\n        box.transform.rotationEuler = this.tmpVector;\r\n        var rigidBody = box.addComponent(Laya.Rigidbody3D);\r\n        var boxShape = new Laya.BoxColliderShape(sX, sY, sZ);\r\n        rigidBody.colliderShape = boxShape;\r\n        rigidBody.mass = 10;\r\n    }\r\n}\r\nAppSetting.moveTime = 1;\r\n//# sourceMappingURL=AssetManager.js.map",
  "references": [],
  "map": "{\"version\":3,\"file\":\"AssetManager.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Game/AssetManager.ts\"],\"names\":[],\"mappings\":\"AACA,MAAM,OAAQ,SAAS;IAYX,MAAM;QAEhB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,8BAA8B,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE;YAE5E,IAAI,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,8BAA8B,EAAE,QAAQ,CAAC,CAAgB,CAAC;YACvH,kBAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;YACjC,kBAAkB,CAAC,SAAS,GAAG,IAAI,CAAC;YACpC,kBAAkB,CAAC,SAAS,GAAG,EAAE,CAAC;YAClC,kBAAkB,CAAC,QAAQ,GAAG,SAAS,CAAC;YACxC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;YAC3E,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,GAAG,kBAAkB,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,GAAG,CAAC,EAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAA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