1 line
1.6 KiB
Plaintext
1 line
1.6 KiB
Plaintext
{"version":3,"sources":["assets/scripts/StartUIManager.ts"],"names":[],"mappings":";;;;;AAAA,oBAAoB;AACpB,4EAA4E;AAC5E,mBAAmB;AACnB,sFAAsF;AACtF,8BAA8B;AAC9B,sFAAsF;;;;;;;;;;;;;;;;;;;;;AAEhF,IAAA,KAAsB,EAAE,CAAC,UAAU,EAAlC,OAAO,aAAA,EAAE,QAAQ,cAAiB,CAAC;AAI1C;IAA4C,kCAAY;IAAxD;QAAA,qEAmBC;QAhBA,gBAAU,GAAiB,IAAI,CAAC;;QAe7B,iBAAiB;IACrB,CAAC;IAfG,wBAAwB;IAExB,eAAe;IAEf,8BAAK,GAAL;QACI,oDAAoD;QACpD,MAAM;IAEV,CAAC;IAED,2CAAkB,GAAlB;QACI,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;QAC/C,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IAdJ;QADI,QAAQ,CAAC,EAAE,CAAC,SAAS,CAAC;sDACM;IAHZ,cAAc;QADlC,OAAO;OACa,cAAc,CAmBlC;IAAD,qBAAC;CAnBD,AAmBC,CAnB2C,EAAE,CAAC,SAAS,GAmBvD;kBAnBoB,cAAc","file":"","sourceRoot":"/","sourcesContent":["// Learn TypeScript:\n// - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html\n// Learn Attribute:\n// - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html\n// Learn life-cycle callbacks:\n// - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html\n\nconst {ccclass, property} = cc._decorator;\nimport { WechatManager } from './WechatManager';\n\n@ccclass\nexport default class StartUIManager extends cc.Component {\n\n @property(cc.AudioClip)\n\tClickAudio: cc.AudioClip = null;\n // LIFE-CYCLE CALLBACKS:\n\n // onLoad () {}\n\n start () {\n // WechatManager.instance.initAutoSetting((url) => {\n // });\n\n }\n\n StartButtonOnClick() {\n cc.audioEngine.play(this.ClickAudio, false, 1);\n cc.director.loadScene(\"game\");\n }\n // update (dt) {}\n}\n"]} |