Class ComponentTreeView
Inheritance
System.Object
UnityEditor.IMGUI.Controls.TreeView
ComponentTreeView
Inherited Members
UnityEditor.IMGUI.Controls.TreeView.BuildRows(UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.Reload()
UnityEditor.IMGUI.Controls.TreeView.Repaint()
UnityEditor.IMGUI.Controls.TreeView.GetCellRectForTreeFoldouts(UnityEngine.Rect)
UnityEditor.IMGUI.Controls.TreeView.GetRowRect(System.Int32)
UnityEditor.IMGUI.Controls.TreeView.GetRows()
UnityEditor.IMGUI.Controls.TreeView.FindRows(System.Collections.Generic.IList<System.Int32>)
UnityEditor.IMGUI.Controls.TreeView.FindItem(System.Int32, UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.GetFirstAndLastVisibleRows(System.Int32, System.Int32)
UnityEditor.IMGUI.Controls.TreeView.ExpandAll()
UnityEditor.IMGUI.Controls.TreeView.CollapseAll()
UnityEditor.IMGUI.Controls.TreeView.SetExpandedRecursive(System.Int32, System.Boolean)
UnityEditor.IMGUI.Controls.TreeView.SetExpanded(System.Int32, System.Boolean)
UnityEditor.IMGUI.Controls.TreeView.SetExpanded(System.Collections.Generic.IList<System.Int32>)
UnityEditor.IMGUI.Controls.TreeView.GetExpanded()
UnityEditor.IMGUI.Controls.TreeView.IsExpanded(System.Int32)
UnityEditor.IMGUI.Controls.TreeView.GetSelection()
UnityEditor.IMGUI.Controls.TreeView.SetSelection(System.Collections.Generic.IList<System.Int32>)
UnityEditor.IMGUI.Controls.TreeView.SetSelection(System.Collections.Generic.IList<System.Int32>, UnityEditor.IMGUI.Controls.TreeViewSelectionOptions)
UnityEditor.IMGUI.Controls.TreeView.IsSelected(System.Int32)
UnityEditor.IMGUI.Controls.TreeView.HasSelection()
UnityEditor.IMGUI.Controls.TreeView.HasFocus()
UnityEditor.IMGUI.Controls.TreeView.SetFocus()
UnityEditor.IMGUI.Controls.TreeView.SetFocusAndEnsureSelectedItem()
UnityEditor.IMGUI.Controls.TreeView.SelectionClick(UnityEditor.IMGUI.Controls.TreeViewItem, System.Boolean)
UnityEditor.IMGUI.Controls.TreeView.BeginRename(UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.BeginRename(UnityEditor.IMGUI.Controls.TreeViewItem, System.Single)
UnityEditor.IMGUI.Controls.TreeView.EndRename()
UnityEditor.IMGUI.Controls.TreeView.FrameItem(System.Int32)
UnityEditor.IMGUI.Controls.TreeView.OnGUI(UnityEngine.Rect)
UnityEditor.IMGUI.Controls.TreeView.SelectAllRows()
UnityEditor.IMGUI.Controls.TreeView.GetFoldoutIndent(UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.GetContentIndent(UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.SortItemIDsInRowOrder(System.Collections.Generic.IList<System.Int32>)
UnityEditor.IMGUI.Controls.TreeView.CenterRectUsingSingleLineHeight(UnityEngine.Rect)
UnityEditor.IMGUI.Controls.TreeView.AddExpandedRows(UnityEditor.IMGUI.Controls.TreeViewItem, System.Collections.Generic.IList<UnityEditor.IMGUI.Controls.TreeViewItem>)
UnityEditor.IMGUI.Controls.TreeView.SelectionChanged(System.Collections.Generic.IList<System.Int32>)
UnityEditor.IMGUI.Controls.TreeView.SingleClickedItem(System.Int32)
UnityEditor.IMGUI.Controls.TreeView.ContextClickedItem(System.Int32)
UnityEditor.IMGUI.Controls.TreeView.ContextClicked()
UnityEditor.IMGUI.Controls.TreeView.ExpandedStateChanged()
UnityEditor.IMGUI.Controls.TreeView.SearchChanged(System.String)
UnityEditor.IMGUI.Controls.TreeView.KeyEvent()
UnityEditor.IMGUI.Controls.TreeView.GetAncestors(System.Int32)
UnityEditor.IMGUI.Controls.TreeView.GetDescendantsThatHaveChildren(System.Int32)
UnityEditor.IMGUI.Controls.TreeView.CanMultiSelect(UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.CanRename(UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.RenameEnded(UnityEditor.IMGUI.Controls.TreeView.RenameEndedArgs)
UnityEditor.IMGUI.Controls.TreeView.CanStartDrag(UnityEditor.IMGUI.Controls.TreeView.CanStartDragArgs)
UnityEditor.IMGUI.Controls.TreeView.SetupDragAndDrop(UnityEditor.IMGUI.Controls.TreeView.SetupDragAndDropArgs)
UnityEditor.IMGUI.Controls.TreeView.HandleDragAndDrop(UnityEditor.IMGUI.Controls.TreeView.DragAndDropArgs)
UnityEditor.IMGUI.Controls.TreeView.CanBeParent(UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.CanChangeExpandedState(UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.DoesItemMatchSearch(UnityEditor.IMGUI.Controls.TreeViewItem, System.String)
UnityEditor.IMGUI.Controls.TreeView.BeforeRowsGUI()
UnityEditor.IMGUI.Controls.TreeView.AfterRowsGUI()
UnityEditor.IMGUI.Controls.TreeView.RefreshCustomRowHeights()
UnityEditor.IMGUI.Controls.TreeView.GetCustomRowHeight(System.Int32, UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.GetRenameRect(UnityEngine.Rect, System.Int32, UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.CommandEventHandling()
UnityEditor.IMGUI.Controls.TreeView.SetupParentsAndChildrenFromDepths(UnityEditor.IMGUI.Controls.TreeViewItem, System.Collections.Generic.IList<UnityEditor.IMGUI.Controls.TreeViewItem>)
UnityEditor.IMGUI.Controls.TreeView.SetupDepthsFromParentsAndChildren(UnityEditor.IMGUI.Controls.TreeViewItem)
UnityEditor.IMGUI.Controls.TreeView.CreateChildListForCollapsedParent()
UnityEditor.IMGUI.Controls.TreeView.IsChildListForACollapsedParent(System.Collections.Generic.IList<UnityEditor.IMGUI.Controls.TreeViewItem>)
UnityEditor.IMGUI.Controls.TreeView.getNewSelectionOverride
UnityEditor.IMGUI.Controls.TreeView.foldoutOverride
UnityEditor.IMGUI.Controls.TreeView.state
UnityEditor.IMGUI.Controls.TreeView.multiColumnHeader
UnityEditor.IMGUI.Controls.TreeView.rootItem
UnityEditor.IMGUI.Controls.TreeView.isInitialized
UnityEditor.IMGUI.Controls.TreeView.treeViewRect
UnityEditor.IMGUI.Controls.TreeView.baseIndent
UnityEditor.IMGUI.Controls.TreeView.foldoutWidth
UnityEditor.IMGUI.Controls.TreeView.extraSpaceBeforeIconAndLabel
UnityEditor.IMGUI.Controls.TreeView.customFoldoutYOffset
UnityEditor.IMGUI.Controls.TreeView.columnIndexForTreeFoldouts
UnityEditor.IMGUI.Controls.TreeView.useScrollView
UnityEditor.IMGUI.Controls.TreeView.depthIndentWidth
UnityEditor.IMGUI.Controls.TreeView.showAlternatingRowBackgrounds
UnityEditor.IMGUI.Controls.TreeView.showBorder
UnityEditor.IMGUI.Controls.TreeView.showingHorizontalScrollBar
UnityEditor.IMGUI.Controls.TreeView.showingVerticalScrollBar
UnityEditor.IMGUI.Controls.TreeView.cellMargin
UnityEditor.IMGUI.Controls.TreeView.totalHeight
UnityEditor.IMGUI.Controls.TreeView.rowHeight
UnityEditor.IMGUI.Controls.TreeView.treeViewControlID
UnityEditor.IMGUI.Controls.TreeView.isDragging
UnityEditor.IMGUI.Controls.TreeView.hasSearch
UnityEditor.IMGUI.Controls.TreeView.searchString
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MacacaGames.ViewSystem
Assembly: Macaca.ViewSystem.Editor.dll
Syntax
public class ComponentTreeView : TreeView
Constructors
| Improve this Doc View SourceComponentTreeView(GameObject, ViewElement, TreeViewState, Boolean, Func<SerializedProperty, String, Boolean>, Action)
Declaration
public ComponentTreeView(GameObject go, ViewElement viewElement, TreeViewState treeViewState, bool isPrefabRoot, Func<SerializedProperty, string, bool> IsModify, Action OnDelete)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.GameObject | go | |
ViewElement | viewElement | |
UnityEditor.IMGUI.Controls.TreeViewState | treeViewState | |
System.Boolean | isPrefabRoot | |
System.Func<UnityEditor.SerializedProperty, System.String, System.Boolean> | IsModify | |
System.Action | OnDelete |
Methods
| Improve this Doc View SourceBuildRoot()
Declaration
protected override TreeViewItem BuildRoot()
Returns
Type | Description |
---|---|
UnityEditor.IMGUI.Controls.TreeViewItem |
Overrides
UnityEditor.IMGUI.Controls.TreeView.BuildRoot()
|
Improve this Doc
View Source
DoubleClickedItem(Int32)
Declaration
protected override void DoubleClickedItem(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id |
Overrides
UnityEditor.IMGUI.Controls.TreeView.DoubleClickedItem(System.Int32)
|
Improve this Doc
View Source
DrawValue(Rect, SerializedProperty)
Declaration
protected void DrawValue(Rect rect, SerializedProperty Target)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Rect | rect | |
UnityEditor.SerializedProperty | Target |
RowGUI(TreeView.RowGUIArgs)
Declaration
protected override void RowGUI(TreeView.RowGUIArgs args)
Parameters
Type | Name | Description |
---|---|---|
UnityEditor.IMGUI.Controls.TreeView.RowGUIArgs | args |
Overrides
UnityEditor.IMGUI.Controls.TreeView.RowGUI(UnityEditor.IMGUI.Controls.TreeView.RowGUIArgs)
Events
| Improve this Doc View SourceOnItemClick
Declaration
public event ComponentTreeView._OnItemClick OnItemClick
Event Type
Type | Description |
---|---|
ComponentTreeView._OnItemClick |