public TreeViewGUI(TreeView treeView) { this.m_Ping = new PingData(); this.k_LineHeight = 16f; this.k_BaseIndent = 2f; this.k_IndentWidth = 14f; this.k_FoldoutWidth = 12f; this.k_IconWidth = 16f; this.k_SpaceBetweenIconAndText = 2f; this.k_HalfDropBetweenHeight = 4f; this.m_TreeView = treeView; }
public TreeViewGUI(TreeView treeView, bool useHorizontalScroll) { this.m_Ping = new PingData(); this.k_LineHeight = 16f; this.k_BaseIndent = 2f; this.k_IndentWidth = 14f; this.k_FoldoutWidth = 12f; this.k_IconWidth = 16f; this.k_SpaceBetweenIconAndText = 2f; this.k_HalfDropBetweenHeight = 4f; this.m_TreeView = treeView; this.m_UseHorizontalScroll = useHorizontalScroll; }