C# Class UnityEditor.PackageExportTreeView

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
itemWasToggled Action

Protected Properties

Property Type Description
k_FoldoutWidth float

Public Methods

Method Description
OnGUI ( Rect rect ) : void
OnRowGUI ( Rect rowRect, TreeViewItem tvItem, int row, bool selected, bool focused ) : void
PackageExportTreeView ( PackageExport packageExport, TreeViewState treeViewState, Rect startRect ) : System
PackageExportTreeViewGUI ( TreeViewController treeView, PackageExportTreeView view ) : System
SetAllEnabled ( EnabledState enabled ) : void

Protected Methods

Method Description
GetIconForItem ( TreeViewItem tItem ) : Texture
RenameEnded ( ) : void

Private Methods

Method Description
ComputeEnabledStateForFolders ( ) : void
DoIconAndText ( PackageExportTreeView item, Rect contentRect, bool selected, bool focused ) : void
DoToggle ( PackageExportTreeView pitem, Rect toggleRect ) : void
EnableChildrenRecursive ( TreeViewItem parentItem, EnabledState enabled ) : void
GetFolderChildrenEnabledState ( PackageExportTreeViewItem folder ) : EnabledState
ItemWasToggled ( PackageExportTreeViewItem pitem ) : void
RecursiveComputeEnabledStateForFolders ( PackageExportTreeViewItem pitem, HashSet done ) : void
SelectionChanged ( int selectedIDs ) : void
Toggle ( ExportPackageItem items, PackageExportTreeView pitem, Rect toggleRect ) : void

Method Details

GetIconForItem() protected method

protected GetIconForItem ( TreeViewItem tItem ) : Texture
tItem TreeViewItem
return UnityEngine.Texture

OnGUI() public method

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

OnRowGUI() public method

public OnRowGUI ( Rect rowRect, TreeViewItem tvItem, int row, bool selected, bool focused ) : void
rowRect UnityEngine.Rect
tvItem TreeViewItem
row int
selected bool
focused bool
return void

PackageExportTreeView() public method

public PackageExportTreeView ( PackageExport packageExport, TreeViewState treeViewState, Rect startRect ) : System
packageExport PackageExport
treeViewState TreeViewState
startRect UnityEngine.Rect
return System

PackageExportTreeViewGUI() public method

public PackageExportTreeViewGUI ( TreeViewController treeView, PackageExportTreeView view ) : System
treeView TreeViewController
view PackageExportTreeView
return System

RenameEnded() protected method

protected RenameEnded ( ) : void
return void

SetAllEnabled() public method

public SetAllEnabled ( EnabledState enabled ) : void
enabled EnabledState
return void

Property Details

itemWasToggled public_oe property

public Action itemWasToggled
return Action

k_FoldoutWidth protected_oe property

protected float k_FoldoutWidth
return float