protected override async UniTask InitializeAsync() { LocalDataHelper.LoadAllGameData(); LocalDataManager.Instance.SetSaveAction(LocalDataHelper.SaveAllGameData); await NavigationHelper.OpenPage(NavigationViewType.TitlePage, NavigationTriggerState.First); await base.InitializeAsync(); }
/// <summary> /// 로컬 데이터 로드. /// </summary> private void LocalDataLoad() { LocalDataManager.Instance.AddComponentBase(FindObjectOfType <LocalDataComponent>()); LocalDataHelper.LoadAllGameData(); }