Class ReorderableList
Inheritance
ReorderableList
Assembly: UnityEditor.dll
Syntax
public class ReorderableList
Constructors
|
Improve this Doc
View Source
ReorderableList(IList, Type)
Declaration
public ReorderableList(IList elements, Type elementType)
Parameters
Type |
Name |
Description |
IList |
elements |
|
Type |
elementType |
|
|
Improve this Doc
View Source
ReorderableList(IList, Type, Boolean, Boolean, Boolean, Boolean)
Declaration
public ReorderableList(IList elements, Type elementType, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton)
Parameters
|
Improve this Doc
View Source
ReorderableList(SerializedObject, SerializedProperty)
Declaration
public ReorderableList(SerializedObject serializedObject, SerializedProperty elements)
Parameters
|
Improve this Doc
View Source
ReorderableList(SerializedObject, SerializedProperty, Boolean, Boolean, Boolean, Boolean)
Declaration
public ReorderableList(SerializedObject serializedObject, SerializedProperty elements, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton)
Parameters
Fields
|
Improve this Doc
View Source
displayAdd
Declaration
Field Value
|
Improve this Doc
View Source
displayRemove
Declaration
public bool displayRemove
Field Value
|
Improve this Doc
View Source
drawElementBackgroundCallback
Declaration
public ReorderableList.ElementCallbackDelegate drawElementBackgroundCallback
Field Value
|
Improve this Doc
View Source
drawElementCallback
Declaration
public ReorderableList.ElementCallbackDelegate drawElementCallback
Field Value
|
Improve this Doc
View Source
Declaration
public ReorderableList.FooterCallbackDelegate drawFooterCallback
Field Value
|
Improve this Doc
View Source
Declaration
public ReorderableList.HeaderCallbackDelegate drawHeaderCallback
Field Value
|
Improve this Doc
View Source
drawNoneElementCallback
Declaration
public ReorderableList.DrawNoneElementCallback drawNoneElementCallback
Field Value
|
Improve this Doc
View Source
elementHeight
Declaration
public float elementHeight
Field Value
|
Improve this Doc
View Source
elementHeightCallback
Declaration
public ReorderableList.ElementHeightCallbackDelegate elementHeightCallback
Field Value
|
Improve this Doc
View Source
Declaration
public float footerHeight
Field Value
|
Improve this Doc
View Source
Declaration
public float headerHeight
Field Value
|
Improve this Doc
View Source
onAddCallback
Declaration
public ReorderableList.AddCallbackDelegate onAddCallback
Field Value
|
Improve this Doc
View Source
onAddDropdownCallback
Declaration
public ReorderableList.AddDropdownCallbackDelegate onAddDropdownCallback
Field Value
|
Improve this Doc
View Source
onCanAddCallback
Declaration
public ReorderableList.CanAddCallbackDelegate onCanAddCallback
Field Value
|
Improve this Doc
View Source
onCanRemoveCallback
Declaration
public ReorderableList.CanRemoveCallbackDelegate onCanRemoveCallback
Field Value
|
Improve this Doc
View Source
onChangedCallback
Declaration
public ReorderableList.ChangedCallbackDelegate onChangedCallback
Field Value
|
Improve this Doc
View Source
onMouseUpCallback
Declaration
public ReorderableList.SelectCallbackDelegate onMouseUpCallback
Field Value
|
Improve this Doc
View Source
onRemoveCallback
Declaration
public ReorderableList.RemoveCallbackDelegate onRemoveCallback
Field Value
|
Improve this Doc
View Source
onReorderCallback
Declaration
public ReorderableList.ReorderCallbackDelegate onReorderCallback
Field Value
|
Improve this Doc
View Source
onReorderCallbackWithDetails
Declaration
public ReorderableList.ReorderCallbackDelegateWithDetails onReorderCallbackWithDetails
Field Value
|
Improve this Doc
View Source
onSelectCallback
Declaration
public ReorderableList.SelectCallbackDelegate onSelectCallback
Field Value
|
Improve this Doc
View Source
showDefaultBackground
Declaration
public bool showDefaultBackground
Field Value
Properties
|
Improve this Doc
View Source
count
Declaration
public int count { get; }
Property Value
|
Improve this Doc
View Source
defaultBehaviours
Declaration
public static ReorderableList.Defaults defaultBehaviours { get; }
Property Value
|
Improve this Doc
View Source
draggable
Declaration
public bool draggable { get; set; }
Property Value
|
Improve this Doc
View Source
index
Declaration
public int index { get; set; }
Property Value
|
Improve this Doc
View Source
list
Declaration
public IList list { get; set; }
Property Value
|
Improve this Doc
View Source
serializedProperty
Declaration
public SerializedProperty serializedProperty { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
DoLayoutList()
Declaration
public void DoLayoutList()
|
Improve this Doc
View Source
DoList(Rect)
Declaration
public void DoList(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
|
Improve this Doc
View Source
GetHeight()
Declaration
Returns
|
Improve this Doc
View Source
GrabKeyboardFocus()
Declaration
public void GrabKeyboardFocus()
|
Improve this Doc
View Source
HasKeyboardControl()
Declaration
public bool HasKeyboardControl()
Returns
|
Improve this Doc
View Source
ReleaseKeyboardFocus()
Declaration
public void ReleaseKeyboardFocus()
Extension Methods