EVERYTHING
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
|
||||
[DisallowMultipleComponent]
|
||||
public sealed class IfValueBehavior : GuardedValueNodeBehavior
|
||||
{
|
||||
protected override void RecomputeCore()
|
||||
{
|
||||
string value = (GetInputValue("If").AsBool() ? GetInputText("True") : GetInputText("False"));
|
||||
SetOutputValueIfChanged("Text", BSValue.FromText(value));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user