Version: 2022.2
public bool ignoreFromBuild ;

描述

使用此属性指定是否应忽略游戏对象及其子项。

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

Set overrideIgnore to true in order for this property to have the intended effect. When overrideIgnore is false this property inherits the value from the markup of a parent object, if that exists, otherwise it is set to false.