18 lines
366 B
C#
18 lines
366 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace Ashwild.UI
|
|
{
|
|
public class CreditsPanel : UIPanel
|
|
{
|
|
[Header("Navigation")]
|
|
[SerializeField] private Button backButton;
|
|
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
backButton.onClick.AddListener(() => UIManager.Instance.Back());
|
|
}
|
|
}
|
|
}
|