docs.unity.cn
    Show / Hide Table of Contents

    Class ReorderableListHelper

    Helper class to manage ReorderableList appearance in the editor.

    Inheritance
    Object
    ReorderableListHelper
    Namespace: UnityEditor.Animations.Rigging
    Syntax
    public static class ReorderableListHelper : object

    Methods

    Create(SerializedObject, SerializedProperty, Boolean, Boolean)

    Creates a ReorderableList using a SerializedProperty array as source.

    Declaration
    public static ReorderableList Create(SerializedObject obj, SerializedProperty property, bool draggable = true, bool displayHeader = false)
    Parameters
    Type Name Description
    SerializedObject obj

    SerializedObject owning the SerializedProperty.

    SerializedProperty property

    SerializedProperty array.

    Boolean draggable

    Toggles whether an object is draggable in the list. True when an object is draggable, false otherwise.

    Boolean displayHeader

    Displays the ReorderableList header.

    Returns
    Type Description
    ReorderableList

    Returns a new ReorderableList.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, August 24, 2021