diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-02 15:15:49 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-02 15:16:57 -0800 |
| commit | 55ab58068067b2feca35e27ad18349f3597b1a3d (patch) | |
| tree | 199f13cfa50588b9c0d44aef7511f73c99c766f3 /Scripts/Fold/Editor/BaseFoldNode.cs | |
| parent | 1591d5d8eb702883460535d0d5968abf22433da5 (diff) | |
Fold: add Serialize() method to fold nodes
Diffstat (limited to 'Scripts/Fold/Editor/BaseFoldNode.cs')
| -rw-r--r-- | Scripts/Fold/Editor/BaseFoldNode.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Scripts/Fold/Editor/BaseFoldNode.cs b/Scripts/Fold/Editor/BaseFoldNode.cs index c779092..203a89a 100644 --- a/Scripts/Fold/Editor/BaseFoldNode.cs +++ b/Scripts/Fold/Editor/BaseFoldNode.cs @@ -1,4 +1,11 @@ using GraphProcessor; -public class BaseFoldNode : BaseNode {} +public abstract class BaseFoldNode : BaseNode +{ + [Input(name = "Input")] + public BaseFoldNode input; + + // Generate a generic representation of the node. This is used for animation. + public abstract FoldNodeSerialized Serialize(); +} |
