Files
com.misaki.graph-view/Sample/Runtime/Models/Nodes/Output.cs
Misaki c853994bf5 Added IExecutable and ISlotContainer interface.
Changed SlotContainerNode to ExecutableNode
2024-11-05 02:25:15 +09:00

18 lines
367 B
C#

using UnityEngine;
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;
}
}
}