Unity Script Reference:
NavMeshAgent.updateRotation
var updateRotation: bool;
bool updateRotation;
updateRotation as bool
Description

Should the agent update the transform orientation?