Version: 2017.2
public AI.NavMeshObstacleShape shape ;

Descripción

The shape of the obstacle.

Set or get the shape of the NavMeshObstacle.

A newly created NavMeshObstacle has a shape of the NavMeshObstacleShape.Box shape. The obstacle shapes are listed in NavMeshObstacleShape.

Note: When the shape is changed the center is set back to zero.