using NodeCanvas.Framework; using ParadoxNotion; using ParadoxNotion.Design; namespace NodeCanvas.Tasks.Conditions { [Category("✫ Blackboard")] [Description("It's best to use the respective Condition for a type if existant since they support operations as well")] public class CheckVariable : ConditionTask { [BlackboardOnly] public BBParameter valueA; public BBParameter valueB; protected override string info { get { return valueA + " == " + valueB; } } protected override bool OnCheck() { return ObjectUtils.AnyEquals(valueA.value, valueB.value); } } }