public virtual float GetContentIndent(TreeViewItem item) { return(GetFoldoutIndent(item) + k_FoldoutWidth); }
public GMCategoryItem(int id, int depth, TreeViewItem parent, string displayName) : base(id, depth, parent, displayName) { graph = ScriptableObject.CreateInstance <Graph1>(); }
public virtual void OnRowGUI(Rect rowRect, TreeViewItem item, int row, bool selected, bool focused) { DoItemGUI(rowRect, row, item, selected, focused, false); }
public virtual int GetNumRowsOnPageUpDown(TreeViewItem fromItem, bool pageUp, float heightOfTreeView) { return((int)Mathf.Floor(heightOfTreeView / k_LineHeight)); }
protected virtual Texture GetIconForItem(TreeViewItem item) { return(item.icon); }
protected override Texture GetIconForItem(TreeViewItem item) { return(null); }
public override float GetContentIndent(TreeViewItem item) { return(GetFoldoutIndent(item)); }