You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|