s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejams

Game Jam III

Starts Fri 4 Sep
Theme

Theme revealed when the jam starts.

£50,000
prizepool
Read more
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
PlatformSettings
chevron_left Classes
class
PlatformSettings

Constructors

functionsPlatformSettings

Properties

data_objectChatEnableddata_objectChatMaxMessageLengthdata_objectChatShowUIdata_objectSubtitlesShowUI
PlatformSettings
Platform-level settings for a game project. These control engine-provided features like text chat that exist outside of any specific scene.
class Sandbox .account_tree extends ConfigData
Sandbox.Engine

build Constructors 1

PlatformSettings ()

data_object Properties 4

ChatEnabled
bool
Whether the built-in text chat system is enabled for this game.
ChatMaxMessageLength
int
Maximum length of a single chat message in characters.
ChatShowUI
bool
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.
SubtitlesShowUI
bool
Show the default subtitle UI overlay for sounds with subtitle tracks. When false, the tracks still load and Sandbox.SubtitlesGameObjectSystem.GetActive(System.Collections.Generic.List{Sandbox.SubtitlesGameObjectSystem.Line}) still works, but the built-in overlay is hidden. Use this when implementing a custom subtitle UI.

Inheritance

ConfigData
PlatformSettings
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter