コード例 #1
0
        protected override async UniTask InitializeAsync()
        {
            LocalDataHelper.LoadAllGameData();
            LocalDataManager.Instance.SetSaveAction(LocalDataHelper.SaveAllGameData);
            await NavigationHelper.OpenPage(NavigationViewType.TitlePage, NavigationTriggerState.First);

            await base.InitializeAsync();
        }
コード例 #2
0
 /// <summary>
 /// 로컬 데이터 로드.
 /// </summary>
 private void LocalDataLoad()
 {
     LocalDataManager.Instance.AddComponentBase(FindObjectOfType <LocalDataComponent>());
     LocalDataHelper.LoadAllGameData();
 }