【Bug】新手引导

Android_release
zhangaotian 2024-08-15 12:18:14 +08:00
parent 1ffc102479
commit fd52c816fb
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ using Framework.BI;
using Framework.UI; using Framework.UI;
using UnityEngine.UI; using UnityEngine.UI;
using Framework.Event; using Framework.Event;
using Gameplay.Manager;
using Framework.Setting; using Framework.Setting;
using Framework.Constants; using Framework.Constants;
@ -36,6 +37,8 @@ public class UIUserAgreementController : UIWindow
private void OnAgree() private void OnAgree()
{ {
CloseWindow(true); CloseWindow(true);
if (LevelSelectManager.Instance.CurPassLevelIndex < 1)
GuideMananger.Instance.StartGroupGuide();
SettingManager.Instance.SetFirstLaunch(); SettingManager.Instance.SetFirstLaunch();
BIManager.Instance.TrackEventOnce(cfg.BI.EventFirst.fte_privacy_agree); BIManager.Instance.TrackEventOnce(cfg.BI.EventFirst.fte_privacy_agree);
} }