This version of Unity is unsupported.

NavMeshObstacle.size

public Vector3 size;

Description

The size of the obstacle, measured in the object's local space.

The size will be scaled by the transform's scale.

no example available in C#