{
  "code": "import { AudioManager, VoiceType } from \"../Manager/AudioManager\";\r\nimport { GameManager } from \"../Manager/GameManager\";\r\nexport default class CoinBehav extends Laya.Script3D {\r\n    constructor() {\r\n        super();\r\n    }\r\n    onAwake() {\r\n        this._gameobject = this.owner;\r\n        Laya.timer.loop(1, this, this.Rotate);\r\n    }\r\n    OnTouch() {\r\n        GameManager.GoldNum++;\r\n        AudioManager.PlayVoice(VoiceType.coin);\r\n        Laya.timer.clear(this, this.Rotate);\r\n        this.destroy();\r\n    }\r\n    Rotate() {\r\n        this._gameobject.transform.rotate(new Laya.Vector3(0, 0.05, 0));\r\n    }\r\n}\r\n//# sourceMappingURL=ConiBehav.js.map",
  "references": [
    "E:/LayaProject/DanceLine/RubikCube/src/Manager/AudioManager.ts",
    "E:/LayaProject/DanceLine/RubikCube/src/NetWork/WXSDK.ts",
    "E:/LayaProject/DanceLine/RubikCube/src/Manager/GameManager.ts"
  ],
  "map": "{\"version\":3,\"file\":\"ConiBehav.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Game/ConiBehav.ts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,CAAC,OAAO,OAAQ,SAAU,SAAQ,IAAI,CAAC,QAAQ;IACjD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IAED,OAAO;QACH,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAsB,CAAC;QAC/C,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,EAAC,IAAI,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;IACD,OAAO;QACH,WAAW,CAAC,OAAO,EAAG,CAAE;QACxB,YAAY,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IACD,MAAM;QACF,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,EAAC,IAAI,EAAC,CAAC,CAAC,CAAC,CAAC;IAClE,CAAC;CACJ\"}"
}
