Cleanup and fix small issue with JumpToIndex

This commit is contained in:
Sinai
2021-05-26 18:32:47 +10:00
parent 1a26623080
commit b0bbeb3cf8
4 changed files with 29 additions and 28 deletions

View File

@ -235,9 +235,6 @@ namespace UnityExplorer.UI.Inspectors
private void OnExploreButtonClicked()
{
var panel = UIManager.GetPanel<Panels.ObjectExplorerPanel>(UIManager.Panels.ObjectExplorer);
UIManager.SetPanelActive(panel, true);
panel.SetTab(0);
panel.SceneExplorer.JumpToTransform(this.Parent.GOTarget.transform);
}