docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ExpandedStateList<TTarget>

    Used in editor drawer part to store the state of expandable areas using EditorPrefBoolFlags for a list of elements.

    Inheritance
    object
    ExpandedStateBase<int>
    ExpandedState<int, TTarget>
    ExpandedStateList<TTarget>
    Inherited Members
    ExpandedState<int, TTarget>.m_State
    ExpandedState<int, TTarget>.GetExpandedAreas(int)
    ExpandedState<int, TTarget>.SetExpandedAreas(int, bool)
    ExpandedState<int, TTarget>.ExpandAll()
    ExpandedState<int, TTarget>.CollapseAll()
    ExpandedStateBase<int>.GetExpandedAreas(int)
    ExpandedStateBase<int>.SetExpandedAreas(int, bool)
    ExpandedStateBase<int>.ExpandAll()
    ExpandedStateBase<int>.CollapseAll()
    ExpandedStateBase<int>.this[int]
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public class ExpandedStateList<TTarget> : ExpandedState<int, TTarget>
    Type Parameters
    Name Description
    TTarget

    A type given to automatically compute the key.

    Constructors

    Name Description
    ExpandedStateList(string)

    Constructor will create the key to store in the EditorPref the state given generic type passed. The key will be formated as such prefix:TTarget:TState:UI_State.

    Methods

    Name Description
    RemoveFlagAtIndex(int)

    Removes a flag at a given index which causes the following flags' index to decrease by one.

    SwapFlags(int, int)

    Swap flag between src index and dst index.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)