Files
ichni_Official/Assets/Scripts/Story/StoryUI/DialogUI/DialogUIPage.cs

26 lines
581 B
C#
Raw Normal View History

2025-06-06 10:14:55 -04:00
using System;
using System.Collections;
using System.Collections.Generic;
using Ichni.UI;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.Serialization;
2025-07-26 04:20:25 -04:00
using UnityEngine.UI;
2025-06-06 10:14:55 -04:00
namespace Ichni.Story.UI
{
public class DialogUIPage : UIPageBase
{
2025-07-26 04:20:25 -04:00
public Button closeButton;
2025-06-13 14:59:58 -04:00
public DialogContentFrame dialogContentFrame;
2025-07-26 04:20:25 -04:00
private void Start()
{
closeButton.onClick.AddListener(() =>
{
FadeOut();
dialogContentFrame.ClearAllSentences();
});
}
2025-06-06 10:14:55 -04:00
}
}