Move logic out of UIManager.SetPanelActive into panel.SetActive

This commit is contained in:
Sinai
2022-03-13 02:21:25 +11:00
parent 48e688cb75
commit 4fdb2aacd8
3 changed files with 10 additions and 10 deletions

View File

@ -39,7 +39,7 @@ namespace UnityExplorer.Inspectors.MouseInspectors
LastHitObjects.Clear();
LastHitObjects.AddRange(currentHitObjects);
var panel = UIManager.GetPanel<UiInspectorResultsPanel>(UIManager.Panels.UIInspectorResults);
UIManager.SetPanelActive(panel, true);
panel.SetActive(true);
panel.ShowResults();
}