s&
infoAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games exploreDiscover Games
categoryWorkshop
sports_esportsGames landscapeMaps view_in_arModels textureMaterials apparelClothing constructionMore..
forumForum menu_bookLearn
docsDocumentation apiApi Reference 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
SystemsConfig
chevron_left Classes
class
SystemsConfig

Constructors

functionsSystemsConfig

Properties

lockSystems

Methods

functionsGetPropertyValuefunctionsSetPropertyValuefunctionsTryGetPropertyValue

Static Methods

functionsGetDefaultValue
SystemsConfig
Configuration for GameObjectSystem properties at a project level. Specific scenes may override this as well - but will be serialized directly in the scene.
class Sandbox .account_tree extends ConfigData
Sandbox.Engine

build Constructors 1

SystemsConfig ()

data_object Properties 1

Systems
Dictionary`2
Stores GameObjectSystems to property names to property values

functions Methods 3

GetPropertyValue (systemType, property)
object
Get property value for a specific system type. Returns the configured value, or a default value for the type if not found.
SetPropertyValue (systemType, property, value)
Set property value for a specific system type
TryGetPropertyValue (systemType, property, value)
bool
Try to get property value for a specific system type. Returns true if the property was found in the config.

functions Static Methods 1

GetDefaultValue (property)
object
Get the default value for a GameObjectSystem property.

Inheritance

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