Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseMethod extension for Physics in Particle System.
GetCollisionEvents | Get the particle collision events for a GameObject. Returns the number of events written to the array. |
GetSafeCollisionEventSize | Safe array size for use with ParticleSystem.GetCollisionEvents. |
GetSafeTriggerParticlesSize | Safe array size for use with ParticleSystem.GetTriggerParticles. |
GetTriggerParticles | Get the particles that met the condition in the particle trigger module. Returns the number of particles written to the array. |
SetTriggerParticles | Write modified particles back to the particle system, during a call to OnParticleTrigger. |