(client):feat:添加对列表定义读取的支持,ui管理器将对没有键的窗口也进行统一管理
This commit is contained in:
24
Client/Assets/Scripts/UI/EscUI.cs
Normal file
24
Client/Assets/Scripts/UI/EscUI.cs
Normal file
@ -0,0 +1,24 @@
|
||||
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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user