mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-14 23:56:36 +08:00
Move logic out of UIManager.SetPanelActive into panel.SetActive
This commit is contained in:
@ -124,6 +124,11 @@ namespace UnityExplorer.UI.Panels
|
||||
|
||||
if (!active)
|
||||
this.Dragger.WasDragging = false;
|
||||
else
|
||||
{
|
||||
this.UIRoot.transform.SetAsLastSibling();
|
||||
InvokeOnPanelsReordered();
|
||||
}
|
||||
}
|
||||
|
||||
public override void Destroy()
|
||||
|
Reference in New Issue
Block a user