기술 자료

Unity Engine

Unity Engine

gravity

Apply gravity to particles within the volume of the Force Field.
읽는 시간 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.