Before 6.4 upgrade

This commit is contained in:
2026-05-13 20:29:56 +01:00
parent 602e1ec0d3
commit 806cf80110
38 changed files with 19990 additions and 16155 deletions

View File

@@ -125,6 +125,11 @@ namespace BriarQueen.Framework.Managers.Player
return _codex?.GetEntriesByType(codexType) ?? Enumerable.Empty<CodexEntrySo>();
}
public bool AnyCodexEntriesForCategory(CodexType codexType)
{
return _codex != null && GetDiscoveredCodexEntriesByType(codexType).Any();
}
public bool HasCodexEntry(string uniqueIdentifier)
{
return _codex != null && _codex.HasEntry(uniqueIdentifier);

View File

@@ -1,4 +1,7 @@
using System.Threading;
using Cysharp.Threading.Tasks;
using PrimeTween;
using UnityEngine;
namespace BriarQueen.Framework.Managers.UI.Base
{
@@ -8,5 +11,6 @@ namespace BriarQueen.Framework.Managers.UI.Base
UniTask Hide();
WindowType WindowType { get; }
}
}

View File

@@ -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();