Make the Backpack UI visible in the AppleHillsLevel as well
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
using Core;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
// TODO: Yeet this class
|
||||
namespace UI.CardSystem
|
||||
{
|
||||
/// <summary>
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user