2025-08-27 21:08:17 +00:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class QuitPopup : PopupBase
|
|
|
|
|
{
|
|
|
|
|
public override void ShowPopup(int drawOrder)
|
|
|
|
|
{
|
|
|
|
|
base.ShowPopup(drawOrder);
|
|
|
|
|
GameManager.Sound.PlaySFX(ESFXType.Open_Popup);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void ClickConfirm()
|
|
|
|
|
{
|
|
|
|
|
GameManager.Sound.PlaySFX(ESFXType.Button_Hit);
|
|
|
|
|
GameManager.DB.SaveDatas();
|
|
|
|
|
GameManager.UI.HideTopPopup();
|
2025-09-03 21:42:31 +00:00
|
|
|
DSUtil.Quit();
|
2025-08-27 21:08:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void ClickCancel()
|
|
|
|
|
{
|
|
|
|
|
GameManager.Sound.PlaySFX(ESFXType.Button_Hit);
|
|
|
|
|
GameManager.UI.HideTopPopup();
|
|
|
|
|
}
|
|
|
|
|
}
|