C# Class UnityEditorInternal.ReorderableListWithRenameAndScrollView

Mostrar archivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
listElementStyle UnityEngine.GUIStyle
onCustomDrawElement ReorderableList.ElementCallbackDelegate
onDeleteItemAtIndex Action
onGetNameAtIndex string>.Func
onNameChangedAtIndex string>.Action
onSelectionChanged Action
renameOverlayStyle UnityEngine.GUIStyle

Public Methods

Method Description
BeginRename ( int index, float delay ) : void
DoRenameOverlay ( ) : void
DrawElement ( Rect r, int index, bool isActive, bool isFocused ) : void
DrawElementText ( Rect r, int index, bool isActive, bool isSelected, bool isFocused ) : void
EndRename ( bool acceptChanges ) : void
FrameItem ( int index ) : void
IsRenamingIndex ( int index ) : bool
MouseUpCallback ( ReorderableList list ) : void
OnEvent ( ) : void
OnGUI ( Rect rect ) : void
ReorderCallback ( ReorderableList list ) : void
ReorderableListWithRenameAndScrollView ( ReorderableList list, State state ) : System
SelectCallback ( ReorderableList list ) : void

Private Methods

Method Description
CanBeginRename ( ) : bool
CommandHandling ( ) : void
EnsureRowIsVisible ( int index, float scrollGUIHeight ) : void
GetRenameOverlay ( ) : RenameOverlay
KeyboardHandling ( ) : void
RemoveSelected ( ) : void
RenameEnded ( ) : void

Method Details

BeginRename() public method

public BeginRename ( int index, float delay ) : void
index int
delay float
return void

DoRenameOverlay() public method

public DoRenameOverlay ( ) : void
return void

DrawElement() public method

public DrawElement ( Rect r, int index, bool isActive, bool isFocused ) : void
r UnityEngine.Rect
index int
isActive bool
isFocused bool
return void

DrawElementText() public method

public DrawElementText ( Rect r, int index, bool isActive, bool isSelected, bool isFocused ) : void
r UnityEngine.Rect
index int
isActive bool
isSelected bool
isFocused bool
return void

EndRename() public method

public EndRename ( bool acceptChanges ) : void
acceptChanges bool
return void

FrameItem() public method

public FrameItem ( int index ) : void
index int
return void

IsRenamingIndex() public method

public IsRenamingIndex ( int index ) : bool
index int
return bool

MouseUpCallback() public method

public MouseUpCallback ( ReorderableList list ) : void
list ReorderableList
return void

OnEvent() public method

public OnEvent ( ) : void
return void

OnGUI() public method

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

ReorderCallback() public method

public ReorderCallback ( ReorderableList list ) : void
list ReorderableList
return void

ReorderableListWithRenameAndScrollView() public method

public ReorderableListWithRenameAndScrollView ( ReorderableList list, State state ) : System
list ReorderableList
state State
return System

SelectCallback() public method

public SelectCallback ( ReorderableList list ) : void
list ReorderableList
return void

Property Details

listElementStyle public_oe property

public GUIStyle,UnityEngine listElementStyle
return UnityEngine.GUIStyle

onCustomDrawElement public_oe property

public ReorderableList.ElementCallbackDelegate onCustomDrawElement
return ReorderableList.ElementCallbackDelegate

onDeleteItemAtIndex public_oe property

public Action onDeleteItemAtIndex
return Action

onGetNameAtIndex public_oe property

public Func onGetNameAtIndex
return string>.Func

onNameChangedAtIndex public_oe property

public Action onNameChangedAtIndex
return string>.Action

onSelectionChanged public_oe property

public Action onSelectionChanged
return Action

renameOverlayStyle public_oe property

public GUIStyle,UnityEngine renameOverlayStyle
return UnityEngine.GUIStyle