Files
aibis-dream/Assets/Scripts/Game Loop/EndMenu.cs
T
2025-03-01 16:05:51 +08:00

41 lines
736 B
C#

using System.Collections;
using System.Collections.Generic;
using AibisDream.Kit;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using RainbowArt.CleanFlatUI;
namespace AibisDream
{
public class EndMenu : Singleton<EndMenu>
{
// Start is called before the first frame update
[SerializeField] private GameObject EndMenuPanel;
void Start()
{
EndMenuPanel.SetActive(false);
}
public void OpenEndMenu()
{
EndMenuPanel.SetActive(true);
}
public void CloseEndMenu()
{
EndMenuPanel.SetActive(false);
}
// Update is called once per frame
void Update()
{
}
}
}