14 lines
221 B
C#
14 lines
221 B
C#
using UnityEngine;
|
|
|
|
[DisallowMultipleComponent]
|
|
public sealed class DebugKeyOBehavior : NodeBehavior
|
|
{
|
|
public override void OnGraphUpdate()
|
|
{
|
|
if (Input.GetKeyDown(KeyCode.O))
|
|
{
|
|
TriggerOutput("Pressed");
|
|
}
|
|
}
|
|
}
|