C# Class UnityEditor.TreeViewDragging

Inheritance: ITreeViewDragging
Mostra file Open project: randomize/VimConfig Class Usage Examples

Protected Properties

Property Type Description
m_DropData DropData
m_TreeView UnityEditor.TreeView

Public Methods

Method Description
DoDrag ( TreeViewItem parentItem, TreeViewItem targetItem, bool perform, DropPosition dropPosition ) : DragAndDropVisualMode
DragCleanup ( bool revertExpanded ) : void
DragElement ( TreeViewItem targetItem, Rect targetItemRect, bool firstItem ) : bool
GetCurrentExpanded ( ) : List
TreeViewDragging ( UnityEditor.TreeView treeView ) : System

Private Methods

Method Description
FinalizeDragPerformed ( bool revertExpanded ) : void

Method Details

DoDrag() public abstract method

public abstract DoDrag ( TreeViewItem parentItem, TreeViewItem targetItem, bool perform, DropPosition dropPosition ) : DragAndDropVisualMode
parentItem TreeViewItem
targetItem TreeViewItem
perform bool
dropPosition DropPosition
return DragAndDropVisualMode

DragCleanup() public method

public DragCleanup ( bool revertExpanded ) : void
revertExpanded bool
return void

DragElement() public method

public DragElement ( TreeViewItem targetItem, Rect targetItemRect, bool firstItem ) : bool
targetItem TreeViewItem
targetItemRect UnityEngine.Rect
firstItem bool
return bool

GetCurrentExpanded() public method

public GetCurrentExpanded ( ) : List
return List

TreeViewDragging() public method

public TreeViewDragging ( UnityEditor.TreeView treeView ) : System
treeView UnityEditor.TreeView
return System

Property Details

m_DropData protected_oe property

protected DropData m_DropData
return DropData

m_TreeView protected_oe property

protected TreeView,UnityEditor m_TreeView
return UnityEditor.TreeView