This commit is contained in:
SoulliesOfficial
2025-07-21 05:42:20 -04:00
parent e483cfe502
commit bae0bfbc20
533 changed files with 172709 additions and 125965 deletions

View File

@@ -14,7 +14,7 @@ namespace Ichni
public ChapterSelectionUIPage chapterSelectionUIPage;
public List<ChapterSelectionUnit> chapters;
public string currentChapter;
public ChapterSelectionUnit currentChapter;
}
public partial class ChapterSelectionManager
@@ -23,5 +23,10 @@ namespace Ichni
{
instance = this;
}
public ChapterSelectionUnit GetChapterByName(string chapterName)
{
return chapters.Find(chapter => chapter.chapterName == chapterName);
}
}
}