Added defualt graph properties inspector;
Added sticky note; Changed the name of BaseNode to SlotContainerNode in case we need other type of nodes in the future;
This commit is contained in:
16
Sample/Runtime/Models/Nodes/BaseClasses/BackTraceNode.cs
Normal file
16
Sample/Runtime/Models/Nodes/BaseClasses/BackTraceNode.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Misaki.GraphView.Sample
|
||||
{
|
||||
public abstract class BackTraceNode : SlotContainerNode
|
||||
{
|
||||
protected override void OnPullData(Slot input)
|
||||
{
|
||||
if (input.LinkedSlotData.Count == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var outputNode = GraphObject.GetNode(input.LinkedSlotData[0].nodeID);
|
||||
outputNode.Execute();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a761276bd0f3a4a4cb4b0894d193f4cd
|
||||
Reference in New Issue
Block a user