修复部分问题

1. 章节解锁问题
2. 部分文字显示错误
3. 部分图层排序错误
This commit is contained in:
2026-01-12 16:46:51 +08:00
parent 54f050f77b
commit 10e2871f56
11 changed files with 1504 additions and 1417 deletions
@@ -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)