Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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.