Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enableInteriorCollisions

Allow particles to collide when inside colliders.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
Warning
Deprecated. enableInteriorCollisions property is deprecated and is no longer required and has no effect on the particle system.
public bool enableInteriorCollisions { get; set; }

Remarks

This can be particularly useful if you move colliders around in a script, and using particles for pickups, in order to avoid missing any collision events. However, it may be necessary to disable it in other cases, where you could find particles getting trapped inside colliders.