Class TreeViewItem
Assembly: UnityEditor.dll
Syntax
public class TreeViewItem : IComparable<TreeViewItem>
Constructors
|
Improve this Doc
View Source
TreeViewItem()
Declaration
|
Improve this Doc
View Source
TreeViewItem(Int32)
Declaration
public TreeViewItem(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
|
Improve this Doc
View Source
TreeViewItem(Int32, Int32)
Declaration
public TreeViewItem(int id, int depth)
Parameters
|
Improve this Doc
View Source
TreeViewItem(Int32, Int32, String)
Declaration
public TreeViewItem(int id, int depth, string displayName)
Parameters
Properties
|
Improve this Doc
View Source
children
Declaration
public virtual List<TreeViewItem> children { get; set; }
Property Value
|
Improve this Doc
View Source
depth
Declaration
public virtual int depth { get; set; }
Property Value
|
Improve this Doc
View Source
displayName
Declaration
public virtual string displayName { get; set; }
Property Value
|
Improve this Doc
View Source
hasChildren
Declaration
public virtual bool hasChildren { get; }
Property Value
|
Improve this Doc
View Source
icon
Declaration
public virtual Texture2D icon { get; set; }
Property Value
|
Improve this Doc
View Source
id
Declaration
public virtual int id { get; set; }
Property Value
|
Improve this Doc
View Source
parent
Declaration
public virtual TreeViewItem parent { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddChild(TreeViewItem)
Declaration
public void AddChild(TreeViewItem child)
Parameters
|
Improve this Doc
View Source
CompareTo(TreeViewItem)
Declaration
public virtual int CompareTo(TreeViewItem other)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods