Before 6.4 upgrade
This commit is contained in:
@@ -306,6 +306,7 @@ namespace BriarQueen.Framework.Managers.UI
|
||||
return;
|
||||
|
||||
var window = GetWindow(windowType);
|
||||
|
||||
if (window == null)
|
||||
{
|
||||
Debug.LogError($"[UIManager] Window of type {windowType} not registered.");
|
||||
@@ -316,7 +317,10 @@ namespace BriarQueen.Framework.Managers.UI
|
||||
return;
|
||||
|
||||
if (ActiveWindow != null)
|
||||
{
|
||||
|
||||
await ActiveWindow.Hide();
|
||||
}
|
||||
|
||||
_windowStack.Push(window);
|
||||
await window.Show();
|
||||
|
||||
Reference in New Issue
Block a user