using System; using UnityEngine; using UnityEngine.Serialization; using UnityEngine.UIElements; namespace Menu { public class RoomUI { public VisualElement Root { get; set; } public void Show() { Root.style.display = DisplayStyle.Flex; } public void Hide() { Root.style.display = DisplayStyle.None; } private void BackToMainMenu() { Hide(); MainUI.Instance.mainMenuUI.ResetAndShow(); } } }