123456 |
- {
- "code": "export 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 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": [],
- "map": "{\"version\":3,\"file\":\"ConiBehav.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/Game/ConiBehav.ts\"],\"names\":[],\"mappings\":\"AAAA,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,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\"}"
- }
|