using AibisDream.Utility; using UnityEngine; using UnityEngine.UI; namespace AibisDream { public class EndPanel : MonoBehaviour, IUIPanel { public bool IsOpen => gameObject.activeSelf; public bool IsCloseable => false; #region 打开和关闭 public void Show() { // GameManager.Instance.PauseGame(); gameObject.SetActive(true); // RegisterButton(); } public void Hide() { gameObject.SetActive(false); // UnRegisterButton(); // GameManager.Instance.ContinueGame(); } #endregion // private void RegisterButton() // { // var returnBtn = transform.Find("返回").GetComponent