Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ParticlePhysicsExtensions

Namespace: UnityEngine

Switch to Manual

Description

Method extension for Physics in Particle System.

Static Functions

GetCollisionEventsGet the particle collision events for a GameObject. Returns the number of events written to the array.
GetSafeCollisionEventSizeSafe array size for use with ParticleSystem.GetCollisionEvents.