예제 #1
0
 public BTMove(NavMeshAgent agent, gameobecte target, TextMeshProUGUI txt, GameObject weaponHolder, boole hasWeapon, boole cantAttack, Light light, Color lightCol)
 {
     this.light        = light;
     this.lightColor   = lightCol;
     this.hasWeapon    = hasWeapon;
     this.cantAttack   = cantAttack;
     this.weaponHolder = weaponHolder;
     this.txt          = txt;
     this.target       = target;
     this.agent        = agent;
 }
예제 #2
0
 public CheckPlayerRange(gameobecte player, boole hasWeapon, boole needsWeapon)
 {
     this.player      = player;
     this.hasWeapon   = hasWeapon;
     this.needsWeapon = needsWeapon;
 }