private void InitializeFull() { if (SceneHierarchyWindow.debug) { GameObjectTreeViewDataSource.Log("Init full (" + (object)this.m_RowCount + ")"); } this.InitializeRows(this.CreateHierarchyProperty(), 0, this.m_RowCount - 1); }
private void InitializeFull() { if (SceneHierarchyWindow.debug) { GameObjectTreeViewDataSource.Log("Init full (" + this.m_RowCount + ")"); } HierarchyProperty hierarchyProperty = this.CreateHierarchyProperty(); this.m_RowCount = hierarchyProperty.CountRemaining(this.m_TreeView.state.expandedIDs.ToArray()); this.ResizeItemList(this.m_RowCount); hierarchyProperty.Reset(); this.InitializeRows(hierarchyProperty, 0, this.m_RowCount - 1); }
private void InitializeMinimal() { int[] expanded = this.m_TreeView.state.expandedIDs.ToArray(); HierarchyProperty hierarchyProperty = this.CreateHierarchyProperty(); this.m_RowCount = hierarchyProperty.CountRemaining(expanded); this.ResizeItemList(this.m_RowCount); hierarchyProperty.Reset(); if (SceneHierarchyWindow.debug) { GameObjectTreeViewDataSource.Log("Init minimal (" + this.m_RowCount + ")"); } int firstRow; int lastRow; this.m_TreeView.gui.GetFirstAndLastRowVisible(out firstRow, out lastRow); this.InitializeRows(hierarchyProperty, firstRow, lastRow); this.m_RowsPartiallyInitialized = true; }