예제 #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;
     }
 }
예제 #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
 }