11 lines
264 B
C#
11 lines
264 B
C#
using UnityEngine;
|
|
|
|
[DisallowMultipleComponent]
|
|
public sealed class GreaterThenBehavior : GuardedValueNodeBehavior
|
|
{
|
|
protected override void RecomputeCore()
|
|
{
|
|
SetOutputValueIfChanged("Result", BSValue.FromBool(GetInputNumber("A") > GetInputNumber("B")));
|
|
}
|
|
}
|