Exemplo n.º 1
0
        void DoTreeView()
        {
            Rect rect = GUILayoutUtility.GetRect(0, 100000, 0, 100000);

            m_TreeView.Reload();
            m_TreeView.OnGUI(rect);
        }
Exemplo n.º 2
0
        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);
            }
        }
Exemplo n.º 3
0
        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);
            }
        }