Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


rotation

Gets or sets the orientation of the NavMesh data.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public Quaternion rotation { get; set; }

Remarks

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