PlatformSettingsclass

Platform-level settings for a game project. These control engine-provided features like text chat that exist outside of any specific scene.

objectConfigDataPlatformSettings
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.PlatformSettings : Sandbox.ConfigData

Constructors1

Showing 1 constructors

Properties3

Showing 3 properties

public bool Sandbox.PlatformSettings.ChatEnabled { get; set; }PUBLICGETSET

Whether the built-in text chat system is enabled for this game.

Returns:bool

public int Sandbox.PlatformSettings.ChatMaxMessageLength { get; set; }PUBLICGETSET

Maximum length of a single chat message in characters.

Returns:int

public bool Sandbox.PlatformSettings.ChatShowUI { get; set; }PUBLICGETSET

Show the default chat UI overlay. When false, messages are still processed and events still fire, but the built-in overlay is hidden. Use this when implementing a custom chat UI.

Returns:bool

On this page