Signed-off-by: TRAfoer <lhf190@outlook.com>
This commit is contained in:
2025-07-15 22:22:51 +08:00
parent c184035378
commit f965857267
17 changed files with 17046 additions and 17637 deletions

View File

@@ -81,6 +81,7 @@ namespace Ichni.Editor
return this;
}
public CompositeParameterWindow SetAsFloatList()
{
void GenerateUnit(float content)
@@ -112,7 +113,7 @@ namespace Ichni.Editor
return this;
}
public Button GotoGraphicalAnimationEditorButton;
public CompositeParameterWindow SetAsFlexibleFloat()
{
void GenerateUnit(AnimatedFloat content)
@@ -147,6 +148,16 @@ namespace Ichni.Editor
connectedBaseElement.GetType().GetField(parameterName).SetValue(connectedBaseElement, newFlexibleFloat);
};
GotoGraphicalAnimationEditorButton.gameObject.SetActive(true); // 隐藏按钮
GotoGraphicalAnimationEditorButton.onClick.AddListener(() =>
{
// 打开Graphical Animation Editor
IHaveInspection i = EditorManager.instance.uiManager.inspector as IHaveInspection;
i.GenerateGraphicalFlexibleFloatWindow(connectedBaseElement, "Graphical Animation Editor", new FlexibleFloat[] { flexibleFloat }, new string[] { "1" });
});
return this;
}

View File

@@ -140,6 +140,7 @@ namespace Ichni.Editor
public RectTransform moveTabPoint;
public void Elementfind(GameElement element)
{
if (element == null) return;
foreach (var i in element.childElementList)
{
if (i is NoteBase)