Documentation

Unity Engine

Unity Engine

root

Use this to specify which GameObject (including the GameObject’s children) the markup should be applied to.
Read time 1 minuteLast updated a month ago

Definition

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

Remarks

This markup will be shared with the children of the
root
GameObject only if NavMeshBuildMarkup.applyToChildren is set to
true
.