StorySystem
This commit is contained in:
24
Assets/Scripts/NewStorySystem/StoryUIPage.cs
Normal file
24
Assets/Scripts/NewStorySystem/StoryUIPage.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Ichni.Menu.UI;
|
||||
using Ichni.UI;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Ichni.Story.UI
|
||||
{
|
||||
public class StoryUIPage : UIPageBase
|
||||
{
|
||||
public Button backButton;
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
backButton.onClick.AddListener(() =>
|
||||
{
|
||||
FadeOut();
|
||||
MenuManager.instance.chapterSelectionUIPage.FadeIn();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user