void DoTreeView() { Rect rect = GUILayoutUtility.GetRect(0, 100000, 0, 100000); m_TreeView.Reload(); m_TreeView.OnGUI(rect); }
void DoTreeView() { Rect rect = GUILayoutUtility.GetRect(0, 100000, 0, 100000); m_TreeView.Reload(); m_TreeView.OnGUI(rect); sortColIndex = m_TreeView.multiColumnHeader.sortedColumnIndex; if (sortColIndex > 0) { isAscending = m_TreeView.multiColumnHeader.IsSortedAscending(sortColIndex); } }
void DoTreeView() { if (m_TreeView == null) { return; } Rect rect = GUILayoutUtility.GetRect(0, 100000, 0, 100000); rect.x += 4; rect.width -= 4; if (m_TreeView.needRebuild) { m_TreeView.Reload(); } m_TreeView.OnGUI(rect); sortColIndex = m_TreeView.multiColumnHeader.sortedColumnIndex; if (sortColIndex > 0) { isAscending = m_TreeView.multiColumnHeader.IsSortedAscending(sortColIndex); } }