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.

15 lines
372 B

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; }
[Input]
public float B{ get; set; }
[Output] public float C => A + B;
}
}