This commit is contained in:
CortexCore
2024-11-03 16:42:23 +08:00
commit b125894cc3
5904 changed files with 1070129 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using NodeCanvas.Framework;
using ParadoxNotion.Design;
namespace NodeCanvas.Tasks.Conditions
{
[Category("✫ Blackboard")]
[System.Obsolete("Use CheckVariable(T)")]
public class CheckUnityObject : ConditionTask
{
[BlackboardOnly]
public BBParameter<UnityEngine.Object> valueA;
public BBParameter<UnityEngine.Object> valueB;
protected override string info {
get { return valueA + " == " + valueB; }
}
protected override bool OnCheck() {
return valueA.value == valueB.value;
}
}
}