private void TreeViewArea(bool showLoadingScreen) { Rect treeAreaRect = GUILayoutUtility.GetRect(1, 9999, 1, 99999); if (showLoadingScreen) { GUI.Label(treeAreaRect, "Loading...", Styles.loadingTextStyle); return; } if (m_ExportPackageItems != null && m_ExportPackageItems.Length > 0) { if (m_TreeViewState == null) { m_TreeViewState = new TreeViewState(); } if (m_Tree == null) { m_Tree = new PackageExportTreeView(this, m_TreeViewState, new Rect()); } m_Tree.OnGUI(treeAreaRect); } }