public AIBeliefs getBeliefs() { if (beliefs == null) { beliefs = new AIBeliefs(this); } return(beliefs); }
// Start is called before the first frame update protected override void Start() { base.Start(); behaviours = new AIBehaviour[] { new FollowBehaviour(this, range), new ShootBehaviour(this) }; root = new AIBehaviour(this, behaviours); currentBehaviour = root; beliefs = new AIBeliefs(this); unragdoll(); weapon.user = this; }