Property center
center
Gets or sets the center position of the volume that delimits the NavMesh created by this component.
Declaration
public Vector3 center { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Remarks
It is used only when collectObjects
is set to Volume
. The position applies in the local space of the GameObject.