增加TubeGenerator,DUI架构调整

This commit is contained in:
SoulliesOfficial
2025-03-20 02:42:10 -04:00
parent 0e22f6ac21
commit 22c6ca80ca
33 changed files with 381 additions and 57 deletions

View File

@@ -13,10 +13,10 @@ namespace Ichni.Editor
public Button button;
public TMP_Text buttonText;
public void SetText(string buttonText, bool hasTitle)
public void SetText(string buttonText, bool showTitle)
{
this.buttonText.text = buttonText;
if(!hasTitle) title.gameObject.SetActive(false);
if(!showTitle) title.gameObject.SetActive(false);
}
public void ApplyFunction(UnityAction function)
@@ -27,5 +27,10 @@ namespace Ichni.Editor
button.onClick.AddListener(connectedBaseElement.Refresh);
}
}
public override void AddListenerFunction(UnityAction action)
{
throw new System.NotImplementedException();
}
}
}