Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

NavMeshData.rotation

public Quaternion rotation;

Description

Gets or sets the orientation of the NavMesh data.

The default value is Quaternion.identity - that is, the NavMesh up axis is the same as the world space y-axis.