123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // Learn TypeScript:
- // - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
- // Learn Attribute:
- // - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
- // Learn life-cycle callbacks:
- // - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html
- import LocalData from "./LocalData";
- const {ccclass, property} = cc._decorator;
- @ccclass
- export default class AudioMgr
- {
- public static sounds:any={};
- public static playSound(name)
- {
-
- }
- private static bgm_name="";
- public static playBgm()
- {
- if(LocalData.yy==false)
- {
- return;
- }
-
- }
- public static stopBgm()
- {
-
- }
- }
|