public IsCovereAvaliableNode(Cover[] avaliableCovers, Transform target, EnemyAI ai) { this.avaliableCovers = avaliableCovers; this.target = target; this.ai = ai; }
public GoToCoverNode(NavMeshAgent agent, EnemyAI ai) { this.agent = agent; this.ai = ai; }
public ChaseNode(Transform target, NavMeshAgent agent, EnemyAI ai) { this.target = target; this.agent = agent; this.ai = ai; }
public HealthNode(EnemyAI ai, float threshold) { this.ai = ai; this.threshold = threshold; }