enableInteriorCollisions
Allow particles to collide when inside colliders.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
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.