Files
MinFt/Client/Assets/Scripts/UI/Setting/DeleteAccountPopupPanel.cs
2026-04-27 12:07:32 +08:00

26 lines
557 B
C#

using game;
using GameCore;
using UnityEngine;
using UnityEngine.UI;
public class DeleteAccountPopupPanel : MonoBehaviour
{
public Button btn_delete;
public Button btn_cancel;
private void Start()
{
btn_delete.onClick.AddListener(OnBtnDelete);
btn_cancel.onClick.AddListener(DestroyUI);
}
private void OnBtnDelete()
{
// tysdk.TYSdkFacade.Instance.Signout();
DestroyUI();
RootCtx.ExitGame();
}
void DestroyUI()
{
UIManager.Instance.DestroyUI(gameObject.name);
}
}