기술 자료

Unity Engine

Unity Engine

colliderComponent

The Collider or Collider2D for the GameObject struck by the particles.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public Component colliderComponent { get; }

Remarks

Cast the return value and test for null, if you expect both Collider and Collider2D components to be returned.