Example #1
0
    void Update()
    {
        ASC_Ambient.Refresh();

        if (Input.GetKeyDown(KeyCode.Escape))
        {
            if (MM.CurrentScreen == "HUD" || MM.CurrentScreen == "Pause" && !C.Active)
            {
                if (Paused)
                {
                    MM.SetScreen("HUD");
                }
                else
                {
                    MM.SetScreen("Pause");
                }
            }

            if (MM.CurrentScreen == "Credits")
            {
                MM.GoToLastMenu();
            }
        }

        if (Input.GetKeyDown(KeyCode.BackQuote))
        {
            if (Settings._devConsoleEnabled && MM.CurrentScreen == "HUD")
            {
                C.Toggle();
            }
        }
    }
Example #2
0
 void RefreshLoopingAudioLevels()
 {
     ASC_Engine.Refresh();
     ASC_Wind.Refresh();
     ASC_Road.Refresh();
     ASC_Horn.Refresh();
 }
Example #3
0
 void RefreshLoopingAudioLevels()
 {
     ASC_Engine.Refresh();
     ASC_Tires.Refresh();
     ASC_OffRoad.Refresh();
     ASC_Wind.Refresh();
     ASC_Road.Refresh();
     ASC_Radio.Refresh();
 }
Example #4
0
 void Update()
 {
     ASC.Refresh();
 }