Example #1
0
 public static void OnDestroy()
 {
     if (_audio == null)
     {
         _audio = new Audio();
     }
     _audio.OnDestroy();
 }
Example #2
0
 public static Sound GetMusic(string path)
 {
     if (_audio == null)
     {
         _audio = new Audio();
     }
     return _audio.CreateSong(NormalizePath(pathPrefix + path));
 }
Example #3
0
 public static void OnPause()
 {
     if (_audio == null)
     {
         _audio = new Audio();
     }
     _audio.OnPause();
 }