mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 02:37:12 +08:00
Co-authored-by: zzdxxz <2079238449@qq.com> Co-committed-by: zzdxxz <2079238449@qq.com>
26 lines
483 B
C#
26 lines
483 B
C#
using UnityEngine;
|
|
|
|
namespace UI
|
|
{
|
|
public class EscUI:UIBase
|
|
{
|
|
public void ContinueButton()
|
|
{
|
|
Base.UIInputControl.Instance.Hide(this);
|
|
}
|
|
|
|
public void ExitButton()
|
|
{
|
|
#if UNITY_EDITOR
|
|
UnityEditor.EditorApplication.isPlaying = false; // 停止编辑器播放模式
|
|
#else
|
|
Application.Quit(); // 关闭游戏
|
|
#endif
|
|
}
|
|
|
|
public void SettingsButton()
|
|
{
|
|
|
|
}
|
|
}
|
|
} |