Files
ichni_Official/Assets/Scripts/Menu/ChapterSelection/ChapterSelectionManager.cs
SoulliesOfficial 6aa498f6be
2025-08-11 14:04:06 -04:00

33 lines
875 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using Ichni.Menu;
using Ichni.UI;
using Sirenix.OdinInspector;
using UnityEngine;
namespace Ichni
{
public partial class ChapterSelectionManager : SerializedMonoBehaviour
{
public static ChapterSelectionManager instance;
public ChapterSelectionUIPage chapterSelectionUIPage;
public List<ChapterSelectionUnit> chapters;
public TutorialCollection tutorialCollection;
public ChapterSelectionUnit currentChapter;
}
public partial class ChapterSelectionManager
{
private void Awake()
{
instance = this;
}
public ChapterSelectionUnit GetChapterByName(string chapterName)
{
return chapters.Find(chapter => chapter.chapterName == chapterName);
}
}
}