using NightclubArcadia.UI;
using UnityEngine;
namespace NightclubArcadia.Dialogue
{
///
/// Shows and hides the dialogue UI *without* deactivating its GameObject.
/// Forwards to — kept as a thin wrapper so
/// existing call sites (NPCStandIn, DialogueInteractable,
/// DialogueTransitionController) continue to compile unchanged.
///
public static class DialogueUIVisibility
{
///
/// Makes the dialogue UI visible and interactive. Returns true if the
/// GameObject had to be re-activated (legacy scene state), in which
/// case the caller must wait one frame before rendering text so that
/// TMP's OnEnable can re-cache its Canvas.
///
public static bool Show(GameObject dialogueUI) => PanelVisibility.Show(dialogueUI);
///
/// Hides the dialogue UI, leaving the hierarchy active. See
/// .
///
public static void Hide(GameObject dialogueUI) => PanelVisibility.Hide(dialogueUI);
}
}