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