# ParticleSystemGravitySource

> Options for which physics system to use the gravity setting from.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.ParticleSystemModule

```csharp
public enum ParticleSystemGravitySource
```

## Fields

| Value                                                                                             | Description                             |
| ------------------------------------------------------------------------------------------------- | --------------------------------------- |
| [Physics2D](/engine/6000.0/script-reference/unityengine/particlesystemgravitysource/physics2d.md) | Use gravity from the 2D physics system. |
| [Physics3D](/engine/6000.0/script-reference/unityengine/particlesystemgravitysource/physics3d.md) | Use gravity from the 3D physics system. |
