26 lines
581 B
C#
26 lines
581 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Ichni.UI;
|
|
using UnityEngine;
|
|
using UnityEngine.InputSystem;
|
|
using UnityEngine.Serialization;
|
|
using UnityEngine.UI;
|
|
|
|
namespace Ichni.Story.UI
|
|
{
|
|
public class DialogUIPage : UIPageBase
|
|
{
|
|
public Button closeButton;
|
|
public DialogContentFrame dialogContentFrame;
|
|
|
|
private void Start()
|
|
{
|
|
closeButton.onClick.AddListener(() =>
|
|
{
|
|
FadeOut();
|
|
dialogContentFrame.ClearAllSentences();
|
|
});
|
|
}
|
|
}
|
|
} |