Files
ichni_Official/Assets/Scripts/UI/ChapterSelection/ChapterSelectionUIPage.cs
SoulliesOfficial db4d131192 1
2025-06-06 10:14:55 -04:00

22 lines
608 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ichni.UI
{
public class ChapterSelectionUIPage : UIPageBase
{
public RectTransform chapterContainer;
public GameObject chapterSelectionUIPrefab;
private void Start()
{
foreach (var chapter in ChapterSelectionManager.instance.chapters)
{
ChapterSelectionUI item = Instantiate(chapterSelectionUIPrefab, chapterContainer).GetComponent<ChapterSelectionUI>();
item.Initialize(chapter);
}
}
}
}