EVERYTHING
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
[DisallowMultipleComponent]
|
||||
public sealed class EqualsBehavior : GuardedValueNodeBehavior
|
||||
{
|
||||
protected override void RecomputeCore()
|
||||
{
|
||||
double inputNumber = GetInputNumber("A");
|
||||
double inputNumber2 = GetInputNumber("B");
|
||||
SetOutputValueIfChanged("Result", BSValue.FromBool(Math.Abs(inputNumber - inputNumber2) <= 0.0001));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user