private void TestTreeWithCustomItemHeights()
 {
     Rect rect = new Rect(0f, 0f, base.position.width, base.position.height);
     if (this.m_TreeViewWithCustomHeight == null)
     {
         this.m_BackendData2 = new BackendData();
         this.m_BackendData2.GenerateData(300);
         this.m_TreeViewWithCustomHeight = new TreeViewTestWithCustomHeight(this, this.m_BackendData2, rect);
     }
     this.m_TreeViewWithCustomHeight.OnGUI(rect);
 }
Пример #2
0
        private void TestTreeWithCustomItemHeights()
        {
            Rect rect = new Rect(0f, 0f, base.position.width, base.position.height);

            if (this.m_TreeViewWithCustomHeight == null)
            {
                this.m_BackendData2 = new BackendData();
                this.m_BackendData2.GenerateData(300);
                this.m_TreeViewWithCustomHeight = new TreeViewTestWithCustomHeight(this, this.m_BackendData2, rect);
            }
            this.m_TreeViewWithCustomHeight.OnGUI(rect);
        }
Пример #3
0
        void TestTreeWithCustomItemHeights()
        {
            Rect rect = new Rect(0, 0, position.width, position.height);

            if (m_TreeViewWithCustomHeight == null)
            {
                m_BackendData2 = new BackendData();
                m_BackendData2.GenerateData(300);

                m_TreeViewWithCustomHeight = new TreeViewTestWithCustomHeight(this, m_BackendData2, rect);
            }

            m_TreeViewWithCustomHeight.OnGUI(rect);
        }