Cleanup compile warnings, cleanup logs, spruce up level selection menu
This commit is contained in:
@@ -17,12 +17,6 @@ namespace UI.CardSystem
|
||||
[Tooltip("The GameObject to show/hide. Defaults to this GameObject if not assigned.")]
|
||||
[SerializeField] private GameObject targetRoot;
|
||||
|
||||
[Header("Rules")]
|
||||
[Tooltip("The scene name in which the Card System should be hidden.")]
|
||||
[SerializeField] private string startingSceneName = "StartingScene";
|
||||
[Tooltip("Also hide when SceneManagerService reports the Bootstrap scene.")]
|
||||
[SerializeField] private bool hideInBootstrapScene = true;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
if (targetRoot == null)
|
||||
@@ -64,6 +58,7 @@ namespace UI.CardSystem
|
||||
|
||||
private void ApplyVisibility(string sceneName)
|
||||
{
|
||||
// TODO: Implement actual visibility logic based on sceneName
|
||||
SetActiveSafe(true);
|
||||
// if (targetRoot == null)
|
||||
// return;
|
||||
|
||||
Reference in New Issue
Block a user