ドキュメント

Unity Engine

Unity Engine

IsAlive

Does the Particle System contain any live particles, or will it produce more?
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule

IsAlive(bool)

Does the Particle System contain any live particles, or will it produce more?
public bool IsAlive(bool withChildren)

Parameters

withChildren

Check all child Particle Systems as well.

Returns

Type

Description

boolTrue if the Particle System contains live particles or is still creating new particles. False if the Particle System has stopped emitting particles and all particles are dead.

IsAlive()

Does the Particle System contain any live particles, or will it produce more?
public bool IsAlive()

Returns

Type

Description

boolTrue if the Particle System contains live particles or is still creating new particles. False if the Particle System has stopped emitting particles and all particles are dead.