This commit is contained in:
SoulliesOfficial
2026-07-24 03:43:11 -04:00
parent 48e7364981
commit fe00ecfcc7
90 changed files with 9610 additions and 461 deletions

View File

@@ -15,7 +15,15 @@ namespace Ichni.UI
{
base.SetUp(title, subTitle);
buttonText.GetComponent<Localize>().SetTerm(textContent);
var localize = buttonText.GetComponent<Localize>();
if (localize != null)
{
localize.SetTerm(textContent);
}
else
{
buttonText.text = textContent;
}
button.onClick.AddListener(() =>
{