Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ignoreFromBuild

Use this to specify whether the GameObject and its children should be ignored.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public bool ignoreFromBuild { get; set; }

Remarks

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
.