16 lines
409 B
C#
16 lines
409 B
C#
namespace Misaki.GraphView.Sample
|
|
{
|
|
public abstract class BackTraceBaseNode : BaseNode
|
|
{
|
|
protected override void OnPullData(Slot input)
|
|
{
|
|
if (input.LinkedSlotData.Count == 0)
|
|
{
|
|
return;
|
|
}
|
|
|
|
var outputNode = GraphObject.GetNode(input.LinkedSlotData[0].nodeID);
|
|
outputNode.Execute();
|
|
}
|
|
}
|
|
} |