Documentation

Unity Engine


User Manual

Script Reference

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 10 days 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 _applyToChildren is set to
true
.