EVERYTHING
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
|
||||
[DisallowMultipleComponent]
|
||||
public sealed class XORBehavior : GuardedValueNodeBehavior
|
||||
{
|
||||
protected override void RecomputeCore()
|
||||
{
|
||||
bool flag = GetInputValue("A").AsBool();
|
||||
bool flag2 = GetInputValue("B").AsBool();
|
||||
SetOutputValueIfChanged("Result", BSValue.FromBool(flag ^ flag2));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user