기술 자료

Unity Engine

Download Unity

Unity Engine

component

Points to the owning component - if available, otherwise null.
읽는 시간 1분최근 업데이트: 8시간 전

Definition

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