ドキュメント

Unity Engine

Unity Engine

gravity

Apply gravity to particles within the volume of the Force Field.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public ParticleSystem.MinMaxCurve gravity { get; set; }

Remarks

Particles affected by the gravity effect will be attracted towards the focal point of the gravity. This can be set using the ParticleSystemForceField.gravityFocus property. Additional Resources: ParticleSystemForceField.