component
Points to the owning component - if available, otherwise null.
阅读时间1 分钟最后更新于 1 个月前
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: MeshFilter.sharedMesh.