ドキュメント

Unity Engine

Unity Engine

component

Points to the owning component - if available, otherwise null.
読み終わるまでの所要時間 1 分最終更新 24日前

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