【登录】安卓关闭登录
parent
d23ada4807
commit
686292c315
|
@ -282,7 +282,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &6282136984140380436
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -1501,7 +1501,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 9}
|
||||
m_AnchoredPosition: {x: 0, y: -48}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3018677660354091625
|
||||
|
@ -2002,7 +2002,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 26.000004}
|
||||
m_AnchoredPosition: {x: 0, y: -31}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2708558453118498379
|
||||
|
@ -2137,7 +2137,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 51}
|
||||
m_AnchoredPosition: {x: 0, y: -6}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &6110508866574398123
|
||||
|
|
|
@ -85,27 +85,45 @@ namespace Gameplay.LoadingExecutor
|
|||
/// </summary>
|
||||
private async UniTask InitUI()
|
||||
{
|
||||
var isExitUI = false;
|
||||
UIRoot.Instance.BgDestroy();
|
||||
await UIManager.Instance.OpenWindow(UIConstants.UIStartMain);
|
||||
|
||||
//用户协议 -> 登录 -> 数据同步
|
||||
if (AppInfoManager.Instance.UpdateConfirm && !GuideMananger.Instance.IsGuiding)
|
||||
{
|
||||
isExitUI = true;
|
||||
await UIManager.Instance.OpenWindow(UIConstants.UISyncTip);
|
||||
}
|
||||
|
||||
#if UNITY_IOS
|
||||
if (!AppInfoManager.Instance.CheckIfLogin() && !LoginManager.Instance.ShowLogin &&
|
||||
!GuideMananger.Instance.IsGuiding)
|
||||
{
|
||||
isExitUI = true;
|
||||
await UIManager.Instance.OpenWindow(UIConstants.UILogin);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (SettingManager.Instance.CurSettingData.FirstLaunch)
|
||||
{
|
||||
isExitUI = true;
|
||||
await UIManager.Instance.OpenWindow(UIConstants.UIUserAgreement);
|
||||
}
|
||||
|
||||
if (_stayTuned)
|
||||
{
|
||||
isExitUI = true;
|
||||
await UIManager.Instance.OpenWindow(UIConstants.UIStayTuned);
|
||||
}
|
||||
|
||||
|
||||
if (!isExitUI && LevelSelectManager.Instance.CurPassLevelIndex < 1 &&
|
||||
!AppInfoManager.Instance.UpdateConfirm)
|
||||
GuideMananger.Instance.StartGroupGuide();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 预加载选择关卡
|
||||
/// </summary>
|
||||
|
|
|
@ -37,8 +37,11 @@ public class UIUserAgreementController : UIWindow
|
|||
private void OnAgree()
|
||||
{
|
||||
CloseWindow(true);
|
||||
/*if (LevelSelectManager.Instance.CurPassLevelIndex < 1 && !AppInfoManager.Instance.UpdateConfirm)
|
||||
GuideMananger.Instance.StartGroupGuide();*/
|
||||
#if !UNITY_IOS
|
||||
if (LevelSelectManager.Instance.CurPassLevelIndex < 1 && !AppInfoManager.Instance.UpdateConfirm)
|
||||
GuideMananger.Instance.StartGroupGuide();
|
||||
#endif
|
||||
|
||||
SettingManager.Instance.SetFirstLaunch();
|
||||
BIManager.Instance.TrackEventOnce(cfg.BI.EventFirst.fte_privacy_agree);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue