Unity graph tool solution based on different implementation now focused on Unity.Experimental.Graphview
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
461 B

using TNodeCore.Runtime;
using TNodeCore.Runtime.Attributes;
using TNodeCore.Runtime.Attributes.Ports;
using TNodeCore.Runtime.Models;
namespace Samples.Nodes{
[GraphUsage(typeof(HelloGraph),"Math")]
public class AddNode:NodeData{
[Input] public float A{ get; set; } = default;
[Input]
public float B{ get; set; }= default;
[Output] public float C => A + B;
public override void Process(){
}
}
}