Version: 1.4
LanguageEnglish
  • C#

ParticlePhysicsExtensions.GetSafeCollisionEventSize

Declaration

public static int GetSafeCollisionEventSize(ParticleSystem ps);

Description

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.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答