From faed21edabc8961651d312c85f0a0b5066554c5a Mon Sep 17 00:00:00 2001 From: Michal Adam Pikulski Date: Wed, 22 Oct 2025 09:05:18 +0200 Subject: [PATCH] Make the Backpack UI visible in the AppleHillsLevel as well --- .../CardSystem/CardSystemSceneVisibility.cs | 31 ++++++++++--------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/Assets/Scripts/UI/CardSystem/CardSystemSceneVisibility.cs b/Assets/Scripts/UI/CardSystem/CardSystemSceneVisibility.cs index 248332bd..f294acd3 100644 --- a/Assets/Scripts/UI/CardSystem/CardSystemSceneVisibility.cs +++ b/Assets/Scripts/UI/CardSystem/CardSystemSceneVisibility.cs @@ -2,6 +2,8 @@ using Core; using UnityEngine; + +// TODO: Yeet this class namespace UI.CardSystem { /// @@ -62,20 +64,21 @@ namespace UI.CardSystem private void ApplyVisibility(string sceneName) { - if (targetRoot == null) - return; - - if (string.IsNullOrEmpty(sceneName)) - return; - - if (hideInBootstrapScene && sceneName == "BootstrapScene") - { - SetActiveSafe(false); - return; - } - - bool shouldShow = sceneName != startingSceneName; - SetActiveSafe(shouldShow); + SetActiveSafe(true); + // if (targetRoot == null) + // return; + // + // if (string.IsNullOrEmpty(sceneName)) + // return; + // + // if (hideInBootstrapScene && sceneName == "BootstrapScene") + // { + // SetActiveSafe(false); + // return; + // } + // + // bool shouldShow = sceneName != startingSceneName; + // SetActiveSafe(shouldShow); } private void SetActiveSafe(bool active)