Version: 2018.2
public bool ignoreFromBuild ;

Description

Use this to specify whether the GameObject and its children should be ignored.

If you set this to true, the GameObject and its children will not be included as part of the NavMesh.