Ejemplo n.º 1
0
 public static void Postfix()
 {
     if (Control.mod_active)
     {
         //GameManager.m_audio.PlayMusic(Control.OverloadAudioNames[Control.current_song_int], 0.35f, 0, false, false);
         //RMMMusicHandler.StopPlayingMusic();
         RMMTimer.TimerStop();
         Control.is_Music_Playing2 = false;
     }
 }
Ejemplo n.º 2
0
 public static void SwitchToNextSong()
 {
     try
     {
         Control.current_song_int = NextSongNumber();
         NextTrack();
         RMMTimer.TimerStop();
         RMMTimer.Start();
     }
     catch (Exception e)
     {
         uConsole.Log("[RMM] ENCOUNTERED ISSUE IN .SwitchToNextSong");
         Debug.Log("[RMM] ENCOUNTERED ISSUE IN .SwitchToNextSong");
         Debug.Log(e);
         Thread.Sleep(2000);
         SwitchToNextSong();
     }
     //MenuManager.audio.MusicVolume
     //MenuManager.audio
     //GameManager.m_game_state
 }
Ejemplo n.º 3
0
        // since you now are outside the unity object range now you have to listen for the overload audio volume

        public static void StartPlayingMenuMusic()
        {
            Control.current_song_int = RandomNumber(0, Control.OverloadAudioNames.Length - 1);
            NextTrack();
            RMMTimer.Start();
        }