⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class ReorderableSelectionList

    Inheritance
    Object
    ReorderableSelectionList
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: NeoFPSEditor
    Assembly: NeoFPS.dll
    Syntax
    public abstract class ReorderableSelectionList

    Constructors

    ReorderableSelectionList(SerializedObject, SerializedProperty, String, Boolean, Boolean)

    Declaration
    public ReorderableSelectionList(SerializedObject so, SerializedProperty prop, string header, bool addRemove, bool insert)
    Parameters
    Type Name Description
    SerializedObject so
    SerializedProperty prop
    System.String header
    System.Boolean addRemove
    System.Boolean insert

    Properties

    index

    Declaration
    public int index { get; set; }
    Property Value
    Type Description
    System.Int32

    list

    Declaration
    protected ReorderableList list { get; }
    Property Value
    Type Description
    ReorderableList

    serializedObject

    Declaration
    public SerializedObject serializedObject { get; }
    Property Value
    Type Description
    SerializedObject

    serializedProperty

    Declaration
    public SerializedProperty serializedProperty { get; }
    Property Value
    Type Description
    SerializedProperty

    showInsertControls

    Declaration
    protected bool showInsertControls { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    AppendElement(SerializedProperty)

    Declaration
    protected abstract void AppendElement(SerializedProperty prop)
    Parameters
    Type Name Description
    SerializedProperty prop

    DoLayout()

    Declaration
    public virtual void DoLayout()

    InspectArrayElement(Rect, SerializedProperty, Int32)

    Declaration
    protected abstract void InspectArrayElement(Rect r, SerializedProperty elementProp, int index)
    Parameters
    Type Name Description
    Rect r
    SerializedProperty elementProp
    System.Int32 index

    InspectNoSelection(Boolean)

    Declaration
    protected abstract void InspectNoSelection(bool empty)
    Parameters
    Type Name Description
    System.Boolean empty

    InspectSelection(SerializedProperty)

    Declaration
    protected abstract void InspectSelection(SerializedProperty prop)
    Parameters
    Type Name Description
    SerializedProperty prop

    NoSelectionHelper(Boolean, GUIContent, GUIContent)

    Declaration
    public static void NoSelectionHelper(bool empty, GUIContent emptyMessage, GUIContent noSelectionMessage)
    Parameters
    Type Name Description
    System.Boolean empty
    GUIContent emptyMessage
    GUIContent noSelectionMessage

    OnRemove(SerializedProperty, Int32)

    Declaration
    protected virtual void OnRemove(SerializedProperty prop, int index)
    Parameters
    Type Name Description
    SerializedProperty prop
    System.Int32 index

    OnReorder(SerializedProperty, Int32, Int32)

    Declaration
    protected virtual void OnReorder(SerializedProperty prop, int oldIndex, int newIndex)
    Parameters
    Type Name Description
    SerializedProperty prop
    System.Int32 oldIndex
    System.Int32 newIndex

    OnSelectionChanged(SerializedProperty, Int32)

    Declaration
    protected virtual void OnSelectionChanged(SerializedProperty listProp, int index)
    Parameters
    Type Name Description
    SerializedProperty listProp
    System.Int32 index

    StringPropertyToName(SerializedProperty, Int32)

    Declaration
    public static string StringPropertyToName(SerializedProperty stringProp, int index)
    Parameters
    Type Name Description
    SerializedProperty stringProp
    System.Int32 index
    Returns
    Type Description
    System.String
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX