docs.unity3d.com
    Show / Hide Table of Contents

    Class SettingsTreeview

    Class that can be used to make a settings tree view

    Inheritance
    Object
    SettingsTreeview
    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023