Static Properties

AppId Steam AppId of S&box.
CheatsEnabled
IsConsoleApp True if running in a terminal like console, instead of a game window or editor.
IsDebug
IsDedicatedServer True if this is a dedicated server
IsEditor True if running with the tools or editor attached
IsFocused Is the game window in focus?
IsHeadless True if running as a background task, or terminal, like a dedicated server.
IsMicrophoneListening Returns true if the microphone is currently listening
IsMicrophoneRecording Returns true if the microphone is currently listening and actually hearing/capturing sounds
IsStandalone True if the game is running in standalone mode
IsUnitTest True if we're running the engine as part of a unit test
IsVR True if the game is running in VR mode
LanguageCode The language code for the current language
Version The engine's version string
VersionDate The date of this version, as a UTC datetime.

Static Methods

InitUnitTest
ShutdownUnitTest Called from unit test projects to politely shut down the engine
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.