Class SettingsTreeview
Class that can be used to make a settings tree view
Namespace: Unity.RemoteConfig.Editor.UIComponents
Syntax
public class SettingsTreeview
Constructors
Name | Description |
---|---|
SettingsTreeview(String, String, String) | Constructor for the component. |
Properties
Name | Description |
---|---|
activeSettingsList | JArray of "active settings" - those being used in rules. |
enableEditingSettingsKeys | Sets whether or not the keys can be updated |
isLoading | Sets the loading state of the tree view. |
rulesList | JArray of rules - used to determine if the setting can be modified or not. |
settingsList | JArray of settings. |
Methods
Name | Description |
---|---|
OnGUI(Rect) | Renders the treeview and footer |
Events
Name | Description |
---|---|
OnSettingChanged | Event fired by this component whenever a setting has been changed. The first JObject represents the setting before the change was made. The second JObject represents the setting after the change has been made. If the old setting is null, the setting is new. If the new setting is null, but the old setting is not, this is removing a setting. |