Files
CortexCore b125894cc3 1
2024-11-03 16:42:23 +08:00

17 lines
393 B
C#

using NodeCanvas.Framework;
using ParadoxNotion.Design;
using UnityEngine;
namespace NodeCanvas.Tasks.Conditions
{
[Category("GameObject")]
public class IsActive : ConditionTask<Transform>
{
protected override string info => agentInfo + " is Active";
protected override bool OnCheck() {
return agent.gameObject.activeInHierarchy;
}
}
}