|
@@ -129,6 +129,7 @@ namespace GFGGame
|
|
|
|
|
|
private void OnPlatformInitet(EventContext context)
|
|
|
{
|
|
|
+ ViewManager.Hide<ModalStatusView>();
|
|
|
var success = (bool)context.data;
|
|
|
Debug.Log($"InitPlatform success {success}");
|
|
|
if (success)
|
|
@@ -148,7 +149,6 @@ namespace GFGGame
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- ViewManager.Hide<ModalStatusView>();
|
|
|
AlertSystem.Show("初始化平台sdk失败!")
|
|
|
.SetRightButton(true, "重试", (t) => { QDManager.InitPlatform(); });
|
|
|
}
|
|
@@ -157,7 +157,6 @@ namespace GFGGame
|
|
|
|
|
|
private void OnPlatformLogined(EventContext context)
|
|
|
{
|
|
|
- ViewManager.Hide<ModalStatusView>();
|
|
|
var account = (string)context.data;
|
|
|
if (!string.IsNullOrEmpty(account))
|
|
|
{
|
|
@@ -175,6 +174,7 @@ namespace GFGGame
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
+ ViewManager.Hide<ModalStatusView>();
|
|
|
//尝试自动登录
|
|
|
OnClickBtnStart();
|
|
|
}
|