public Component colliderComponent ;

설명

The Collider or Collider2D for the GameObject struck by the particles.

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


Did you find this page useful? Please give it a rating: