예제 #1
0
 public IsCovereAvaliableNode(Cover[] avaliableCovers, Transform target, EnemyAI ai)
 {
     this.avaliableCovers = avaliableCovers;
     this.target          = target;
     this.ai = ai;
 }
예제 #2
0
 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;
 }