结果列表页,用户页
This commit is contained in:
1 parent
89e3a04fe9
commit
e1a85eeb5e
14 files changed
+7393
-4408
No files matched your search
@@ -248,15 +248,7 @@ public class EditUserController : PFUIPanel
|
||||
}
|
||||
private void Switch(BaseEventData arg0)
|
||||
{
|
||||
UIManager.ShowConfirm("Logout", "Do you want to log out and change accounts?", () =>
|
||||
{
|
||||
#if !(UNITY_ANDROID || UNITY_IOS)
|
||||
SceneManager.LoadScene("Login");
|
||||
#else
|
||||
SceneManager.LoadScene("Login-Mobile");
|
||||
#endif
|
||||
UIManager.CloseConfirm();
|
||||
},2);
|
||||
UIManager.SwitchAccount();
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
|
||||
@@ -29,15 +29,7 @@ public class UserInfoController : PFUIPanel
|
||||
UIManager.AddEvent(transform.Find("InfoPanel").Find("SwitchAccountButton").gameObject,
|
||||
EventTriggerType.PointerClick, (b) =>
|
||||
{
|
||||
UIManager.ShowConfirm("Logout", "Do you want to log out and change accounts?", () =>
|
||||
{
|
||||
#if !(UNITY_ANDROID || UNITY_IOS)
|
||||
SceneManager.LoadScene("Login");
|
||||
#else
|
||||
SceneManager.LoadScene("Login-Mobile");
|
||||
#endif
|
||||
UIManager.CloseConfirm();
|
||||
},2);
|
||||
UIManager.SwitchAccount();
|
||||
});
|
||||
infoPanel = transform.Find("InfoPanel").Find("P");
|
||||
|
||||
@@ -57,9 +49,10 @@ public class UserInfoController : PFUIPanel
|
||||
#if UNITY_ANDROID || UNITY_IOS
|
||||
editBtn.gameObject.SetActive(true);
|
||||
var recordBtn = infoPanel.Find("RecordButton");
|
||||
UIManager.AddEvent(recordBtn.gameObject, EventTriggerType.PointerEnter, (b) =>
|
||||
UIManager.AddEvent(recordBtn.gameObject, EventTriggerType.PointerClick, (b) =>
|
||||
{
|
||||
Debug.Log("去看記錄");
|
||||
Debug.Log(62);
|
||||
UIManager.ShowResultListPanel();
|
||||
});
|
||||
#else
|
||||
UIManager.AddEvent(transform.Find("InfoPanel").gameObject, EventTriggerType.PointerEnter, (b) =>
|
||||
|
||||
Reference in new issue
Block a user