summaryrefslogtreecommitdiffstats
path: root/Scripts/Fold/Editor/PointAlignNode.cs
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-01-01 17:19:27 -0800
committeryum <yum.food.vr@gmail.com>2026-01-01 17:19:27 -0800
commit2b5a62829cd53139d62b2f3ffa3a56f600e43733 (patch)
tree81d74302ce9ac7ec5d8688bc3954bd061cfed805 /Scripts/Fold/Editor/PointAlignNode.cs
parentd06bf919efd978f018ddcb4e2d5807a7783fcc84 (diff)
Fold: Introduce keyframe node
Connect a GameObject and a chain of FoldNodes, then click the keyframe button. Actual keyframe logic not yet implemented.
Diffstat (limited to 'Scripts/Fold/Editor/PointAlignNode.cs')
-rw-r--r--Scripts/Fold/Editor/PointAlignNode.cs13
1 files changed, 8 insertions, 5 deletions
diff --git a/Scripts/Fold/Editor/PointAlignNode.cs b/Scripts/Fold/Editor/PointAlignNode.cs
index 9a3f913..d9f560f 100644
--- a/Scripts/Fold/Editor/PointAlignNode.cs
+++ b/Scripts/Fold/Editor/PointAlignNode.cs
@@ -4,12 +4,15 @@ using UnityEngine;
[System.Serializable, NodeMenuItem("Fold/PointAlign")]
public class PointAlignNode : BaseFoldNode
{
- [Input(name = "po")]
- public float po;
+ [Input(name = "Input")]
+ public BaseFoldNode input;
- [Output(name = "Out")]
- public PointAlignNode output;
+ [Input(name = "po")]
+ public float po;
- public override string name => "Point Align";
+ [Output(name = "Out")]
+ public PointAlignNode output;
+
+ public override string name => "Point Align";
}