增加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

@@ -31,9 +31,9 @@ namespace Ichni.Editor
connectedBaseElement.Refresh();
}
public void AddListenerFunction(UnityAction<bool> action)
public override void AddListenerFunction(UnityAction action)
{
toggle.onValueChanged.AddListener(action);
toggle.onValueChanged.AddListener(_ => action());
}
}
}