//起動待ちしてから開く IEnumerator CoWaitOpen() { while (Engine.IsWaitBootLoading) { yield return(null); } AdvSaveManager saveManager = Engine.SaveManager; saveManager.ReadAllSaveData(); List <AdvSaveData> list = new List <AdvSaveData>(); if (saveManager.IsAutoSave) { list.Add(saveManager.AutoSaveData); } list.AddRange(saveManager.SaveDataList); this.itemDataList = list; gridPage.Init(itemDataList.Count, CallBackCreateItem); gridPage.CreateItems(lastPage); isInit = true; }
//起動待ちしてから開く IEnumerator CoWaitOpen() { while (Engine.IsWaitBootLoading) { yield return(0); } AdvSaveManager saveManager = Engine.SaveManager; saveManager.ReadAllSaveData(); List <AdvSaveData> list = new List <AdvSaveData>(); if (saveManager.IsAutoSave) { list.Add(saveManager.AutoSaveData); } foreach (var data in saveManager.SaveDataList) { list.Add(data); } this.itemDataList = list; listView.Open(itemDataList.Count, CallBackCreateItem); isInit = true; }