first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user