Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


component

Points to the owning component - if available, otherwise null.
Read time 1 minuteLast updated 10 days ago

Definition

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

Remarks

When build sources are obtained using CollectSources, this value typically refers to a mesh or collider component - however for shared meshes it will be null.
Additional Resources: _sharedMesh