rotation
Gets or sets the orientation of the NavMesh data.
阅读时间1 分钟最后更新于 25 天前
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public Quaternion rotation { get; set; }
Remarks
The default value is Quaternion.identity - that is, the NavMesh up axis is the same as the world space y-axis.