Click or drag to resize

SettingsManagerGetT Method

Return the value of a setting, or a default value if doesn't exist.

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static T Get<T>(
	string category,
	string entity,
	string property,
	T defaultValue
)
Request Example View Source

Parameters

category
Type: SystemString
Category/system the setting is for.
entity
Type: SystemString
Object/entity the setting is for.
property
Type: SystemString
Name of the setting.
defaultValue
Type: T
Default value to use if the setting doesn't exist yet.

Type Parameters

T

Return Value

Type: T
See Also