Provides static methods for displaying various modal overlays in the game UI.
<para>
The Sandbox.Game.Overlay class allows you to open modals for packages, maps, news, organizations, reviews, friends lists, server lists, settings, input bindings, and player profiles.
It serves as a central point for invoking user interface overlays that interact with core game and community features.
</para>
classSandbox.Game.
Sandbox.Engine
Examples
// Show a modal for a specific game package
Game.Overlay.ShowGameModal("facepunch.sandbox");
// Check if any overlay is currently open
if (Game.Overlay.IsOpen)
{
// Pause game logic or input
}