删除用户暂存

This commit is contained in:
Caiyanpeng committed 2022-07-15 13:34:43 +08:00
1 parent 576a770c7b
commit eeb9a42c83
12 files changed
+2012 -205

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: b10ceda9bec25b14ea5e190eb9bb0341
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,25 @@
using Assets.Scripts.UI.Control;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeleteAccount : PFUIPanel
{
protected override void Awake()
{
PFUIInputField password = transform.Find("Content/Password").GetComponent<PFUIInputField>();
UIManager.AddEvent(transform.Find("Content/Delete").gameObject, UnityEngine.EventSystems.EventTriggerType.PointerClick, b =>
{
print(password.Text);
});
UIManager.AddEvent(transform.Find("Content/Cancel").gameObject, UnityEngine.EventSystems.EventTriggerType.PointerClick, b =>
{
Close();
});
}
// Start is called before the first frame update
void Start()
{
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e08d6844632aac140a300f4480e80e24
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+13
View File
@@ -285,6 +285,19 @@ public class UIManager : MonoBehaviour
UIManager.Show(UIManager.Instance.DownloadWorkoutsModal, null, true);
//UIManager.Show(UIManager.Instance.RaceListPanel, UIManager.Instance.MainPanel);
}
/*删除账号*/
private DeleteAccount mDeleteAccount;
public DeleteAccount DeleteAccount
{
get
{
return this.GetPanelInstance("DeleteAccount", ref this.mDeleteAccount);
}
}
public static void ShowDeleteAccount()
{
UIManager.Show(UIManager.Instance.DeleteAccount, null, true);
}
//苹果完善信息
private AppleInfoController mAppleInfoController;