26 lines
557 B
C#
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);
|
|
}
|
|
}
|