기술 자료

Unity Engine

Download Unity

Unity Engine

shape

The shape of the obstacle.
읽는 시간 1분최근 업데이트: 11시간 전

Definition

public NavMeshObstacleShape shape { get; set; }

Remarks

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 NavMeshObstacle.center is set back to zero.