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; }
public CheckPlayerRange(gameobecte player, boole hasWeapon, boole needsWeapon) { this.player = player; this.hasWeapon = hasWeapon; this.needsWeapon = needsWeapon; }