Api Sandbox SystemsConfig
class

SystemsConfig

public class SystemsConfig : ConfigData

Configuration for GameObjectSystem properties at a project level. Specific scenes may override this as well - but will be serialized directly in the scene.

Constructors

SystemsConfig()

Methods

Object GetPropertyValue(TypeDescription systemType, PropertyDescription property)

Get property value for a specific system type. Returns the configured value, or a default value for the type if not found.

Boolean TryGetPropertyValue(TypeDescription systemType, PropertyDescription property, Object value)

Try to get property value for a specific system type. Returns true if the property was found in the config.

Void SetPropertyValue(TypeDescription systemType, PropertyDescription property, Object value)

Set property value for a specific system type

Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.SystemsConfig