修复部分问题
1. 章节解锁问题 2. 部分文字显示错误 3. 部分图层排序错误
This commit is contained in:
@@ -71,7 +71,7 @@ namespace AibisDream
|
||||
if (!ChapterData.unlockedChapterList.Contains(chapterSo.name))
|
||||
{
|
||||
ChapterData.unlockedChapterList.Add(chapterSo.name);
|
||||
ChapterData.SaveUnloadChapters();
|
||||
ChapterData.SaveUnlockChapters();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,11 +110,9 @@ namespace AibisDream
|
||||
: new List<string> { firstChapter.name };
|
||||
}
|
||||
|
||||
public void SaveUnloadChapters()
|
||||
public void SaveUnlockChapters()
|
||||
{
|
||||
#if !UNITY_ANDROID || UNITY_EDITOR
|
||||
JsonUtil.SaveArray(unlockedChapterList.ToArray(), ConstRef.ChapterProgressPath);
|
||||
#endif
|
||||
}
|
||||
|
||||
public bool TryGetSaveFilePath(out string saveFilePath)
|
||||
|
||||
Reference in New Issue
Block a user