22 lines
444 B
C#
22 lines
444 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace Ichni.UI
|
|
{
|
|
public class TextButton : SettingsUIElementBase
|
|
{
|
|
public Button button;
|
|
|
|
public void SetUp(string title = "")
|
|
{
|
|
base.SetUp(title);
|
|
|
|
button.onClick.AddListener(() =>
|
|
{
|
|
updateValueAction?.Invoke();
|
|
});
|
|
}
|
|
}
|
|
} |