ドキュメント

Unity Engine

Unity Engine

Clear

Remove all particles in the Particle System.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Clear(bool)

Remove all particles in the Particle System.
public void Clear(bool withChildren)

Parameters

withChildren

Clear all child Particle Systems as well.

Remarks

This method also removes the particles from any linked sub-emitters. Use the withChildren parameter to remove particles from child Particle Systems that are not sub-emitters of the system.

Clear()

Remove all particles in the Particle System.
public void Clear()

Remarks

This method also removes the particles from any linked sub-emitters. Use the withChildren parameter to remove particles from child Particle Systems that are not sub-emitters of the system.