public Component component ;

Descripción

Points to the owning component - if available, otherwise null.

When build sources are obtained using NavMeshBuilder.CollectSources, this value typically refers to a mesh or collider component - however for shared meshes it will be null. See Also: MeshFilter.sharedMesh.