// Update is called once per frame void FixedUpdate() { if (util.playerFound() && util.distToPlayer < util.attackRange) { combat.Attack(); } else if (util.playerFound() || util.inCombat) { util.inCombat = true; combat.Chase(); } else { pacing.Pace(); } }