NavMeshObstacle.shape
public AI.NavMeshObstacleShape shape;
Description 描述
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.