기술 자료

Unity Engine

Unity Engine

component

Points to the owning component - if available, otherwise null.
읽는 시간 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.