docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SegmentationRulesTreeview

    Class that can be used to make a settings tree view

    Inheritance
    object
    SegmentationRulesTreeview
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.RemoteConfig.Editor.UIComponents
    Assembly: Unity.RemoteConfig.Editor.dll
    Syntax
    public class SegmentationRulesTreeview

    Constructors

    Name Description
    SegmentationRulesTreeview(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

    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)