Version: 2017.1

ParticlePhysicsExtensions.GetSafeCollisionEventSize

Cambiar al Manual
public static int GetSafeCollisionEventSize (ParticleSystem ps);

Descripción

Safe array size for use with ParticleSystem.GetCollisionEvents.

This is guaranteed to be large enough to use with ParticleSystem.GetCollisionEvents for the current frame. GetCollisionEvents may return fewer elements for some GameObjects though.