public static int GetTriggerParticles(this ParticleSystem ps, ParticleSystemTriggerEventType type, List <ParticleSystem.Particle> particles) { if (particles == null) { throw new ArgumentNullException("particles"); } return(ParticleSystemExtensionsImpl.GetTriggerParticles(ps, (int)type, particles)); }
public static int GetTriggerParticles(this ParticleSystem ps, ParticleSystemTriggerEventType type, List <ParticleSystem.Particle> particles) { return(ParticleSystemExtensionsImpl.GetTriggerParticles(ps, (int)type, particles)); }