1
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using NodeCanvas.Framework;
|
||||
using ParadoxNotion.Design;
|
||||
|
||||
|
||||
namespace NodeCanvas.Tasks.Conditions
|
||||
{
|
||||
|
||||
[Category("✫ Blackboard")]
|
||||
public class CheckString : ConditionTask
|
||||
{
|
||||
|
||||
[BlackboardOnly]
|
||||
public BBParameter<string> valueA;
|
||||
public BBParameter<string> valueB;
|
||||
|
||||
protected override string info {
|
||||
get { return valueA + " == " + valueB; }
|
||||
}
|
||||
|
||||
protected override bool OnCheck() {
|
||||
return valueA.value == valueB.value;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user