Changed PullData and PushData from SlotExtension to ISlot; Added BackTraceExecutableNode; Removed IExecutable from RelayNode;
16 lines
339 B
C#
16 lines
339 B
C#
namespace Misaki.GraphView.Sample
|
|
{
|
|
[NodeInfo("Output Node", "Output")]
|
|
public class Output : BackTraceExecutableNode
|
|
{
|
|
[NodeInput]
|
|
private float _input;
|
|
|
|
protected override bool OnExecute()
|
|
{
|
|
GraphObject.Logger.LogInfo(this, $"{_input}");
|
|
|
|
return true;
|
|
}
|
|
}
|
|
} |