mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-19 23:37:13 +08:00
24 lines
470 B
C#
24 lines
470 B
C#
|
|
namespace UI
|
||
|
|
{
|
||
|
|
public class EscUI:UIBase
|
||
|
|
{
|
||
|
|
public void ContinueButton()
|
||
|
|
{
|
||
|
|
Base.UIInputControl.Instance.CloseWindow(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
public void ExitButton()
|
||
|
|
{
|
||
|
|
#if UNITY_EDITOR
|
||
|
|
UnityEditor.EditorApplication.isPlaying = false; // 停止编辑器播放模式
|
||
|
|
#else
|
||
|
|
Application.Quit(); // 关闭游戏
|
||
|
|
#endif
|
||
|
|
}
|
||
|
|
|
||
|
|
public void SettingsButton()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|