Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsAffectedBy(ParticleSystemForceField)

Determines whether any particles are inside the influence of a Force Field.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public bool IsAffectedBy(ParticleSystemForceField field)

Parameters

The Force Field to test.

Returns

Type

Description

boolWhether the Force Field affects the Particle System.