18 lines
367 B
C#
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;
|
|
}
|
|
}
|
|
} |