C# Class UnityEditorInternal.ReorderableList

Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
displayAdd bool
displayRemove bool
drawElementBackgroundCallback ElementCallbackDelegate
drawElementCallback ElementCallbackDelegate
drawFooterCallback FooterCallbackDelegate
drawHeaderCallback HeaderCallbackDelegate
elementHeight float
elementHeightCallback ElementHeightCallbackDelegate
footerHeight float
headerHeight float
onAddCallback AddCallbackDelegate
onAddDropdownCallback AddDropdownCallbackDelegate
onCanRemoveCallback CanRemoveCallbackDelegate
onChangedCallback ChangedCallbackDelegate
onMouseUpCallback SelectCallbackDelegate
onRemoveCallback RemoveCallbackDelegate
onReorderCallback ReorderCallbackDelegate
onSelectCallback SelectCallbackDelegate
showDefaultBackground bool

Public Methods

Method Description
DoLayoutList ( ) : void
DoList ( Rect rect ) : void
GetHeight ( ) : float
GrabKeyboardFocus ( ) : void
HasKeyboardControl ( ) : bool
ReleaseKeyboardFocus ( ) : void
ReorderableList ( IList elements, Type elementType ) : System
ReorderableList ( IList elements, Type elementType, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton ) : System
ReorderableList ( SerializedObject serializedObject, UnityEditor.SerializedProperty elements ) : System
ReorderableList ( SerializedObject serializedObject, UnityEditor.SerializedProperty elements, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton ) : System

Private Methods

Method Description
CalculateRowIndex ( ) : int
DoDraggingAndSelection ( Rect listRect ) : void
DoListElements ( Rect listRect ) : void
DoListFooter ( Rect footerRect ) : void
DoListHeader ( Rect headerRect ) : void
GetContentRect ( Rect rect ) : Rect
GetElementHeight ( int index ) : float
GetElementYOffset ( int index ) : float
GetElementYOffset ( int index, int skipIndex ) : float
GetListElementHeight ( ) : float
GetRowIndex ( float localY ) : int
GetRowRect ( int index, Rect listRect ) : Rect
InitList ( SerializedObject serializedObject, UnityEditor.SerializedProperty elements, IList elementList, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton ) : void
IsDragging ( ) : bool
IsMouseInsideActiveElement ( Rect listRect ) : bool
UpdateDraggedY ( Rect listRect ) : void

Method Details

DoLayoutList() public method

public DoLayoutList ( ) : void
return void

DoList() public method

public DoList ( Rect rect ) : void
rect UnityEngine.Rect
return void

GetHeight() public method

public GetHeight ( ) : float
return float

GrabKeyboardFocus() public method

public GrabKeyboardFocus ( ) : void
return void

HasKeyboardControl() public method

public HasKeyboardControl ( ) : bool
return bool

ReleaseKeyboardFocus() public method

public ReleaseKeyboardFocus ( ) : void
return void

ReorderableList() public method

public ReorderableList ( IList elements, Type elementType ) : System
elements IList
elementType System.Type
return System

ReorderableList() public method

public ReorderableList ( IList elements, Type elementType, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton ) : System
elements IList
elementType System.Type
draggable bool
displayHeader bool
displayAddButton bool
displayRemoveButton bool
return System

ReorderableList() public method

public ReorderableList ( SerializedObject serializedObject, UnityEditor.SerializedProperty elements ) : System
serializedObject UnityEditor.SerializedObject
elements UnityEditor.SerializedProperty
return System

ReorderableList() public method

public ReorderableList ( SerializedObject serializedObject, UnityEditor.SerializedProperty elements, bool draggable, bool displayHeader, bool displayAddButton, bool displayRemoveButton ) : System
serializedObject UnityEditor.SerializedObject
elements UnityEditor.SerializedProperty
draggable bool
displayHeader bool
displayAddButton bool
displayRemoveButton bool
return System

Property Details

displayAdd public_oe property

public bool displayAdd
return bool

displayRemove public_oe property

public bool displayRemove
return bool

drawElementBackgroundCallback public_oe property

public ElementCallbackDelegate drawElementBackgroundCallback
return ElementCallbackDelegate

drawElementCallback public_oe property

public ElementCallbackDelegate drawElementCallback
return ElementCallbackDelegate

drawFooterCallback public_oe property

public FooterCallbackDelegate drawFooterCallback
return FooterCallbackDelegate

drawHeaderCallback public_oe property

public HeaderCallbackDelegate drawHeaderCallback
return HeaderCallbackDelegate

elementHeight public_oe property

public float elementHeight
return float

elementHeightCallback public_oe property

public ElementHeightCallbackDelegate elementHeightCallback
return ElementHeightCallbackDelegate

footerHeight public_oe property

public float footerHeight
return float

headerHeight public_oe property

public float headerHeight
return float

onAddCallback public_oe property

public AddCallbackDelegate onAddCallback
return AddCallbackDelegate

onAddDropdownCallback public_oe property

public AddDropdownCallbackDelegate onAddDropdownCallback
return AddDropdownCallbackDelegate

onCanRemoveCallback public_oe property

public CanRemoveCallbackDelegate onCanRemoveCallback
return CanRemoveCallbackDelegate

onChangedCallback public_oe property

public ChangedCallbackDelegate onChangedCallback
return ChangedCallbackDelegate

onMouseUpCallback public_oe property

public SelectCallbackDelegate onMouseUpCallback
return SelectCallbackDelegate

onRemoveCallback public_oe property

public RemoveCallbackDelegate onRemoveCallback
return RemoveCallbackDelegate

onReorderCallback public_oe property

public ReorderCallbackDelegate onReorderCallback
return ReorderCallbackDelegate

onSelectCallback public_oe property

public SelectCallbackDelegate onSelectCallback
return SelectCallbackDelegate

showDefaultBackground public_oe property

public bool showDefaultBackground
return bool