# rateOverTime

> The rate at which the emitter spawns new particles over time.

## Definition

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

```csharp
public ParticleSystem.MinMaxCurve rateOverTime { get; set; }
```

### Remarks

Additional Resources: [ParticleSystem.MinMaxCurve](/engine/6000.7/script-reference/unityengine/particlesystem/minmaxcurve.md), [\_rateOverDistance](/engine/6000.7/script-reference/unityengine/particlesystem/emissionmodule/rateoverdistance.md)

### Examples

```csharp
using UnityEngine;
using System.Collections;

[RequireComponent(typeof(ParticleSystem))]
public class ExampleClass : MonoBehaviour
{
    private ParticleSystem ps;
    public float hSliderValue = 5.0f;

    void Start()
    {
        ps = GetComponent<ParticleSystem>();
    }

    void Update()
    {
        var emission = ps.emission;
        emission.rateOverTime = hSliderValue;
    }

    void OnGUI()
    {
        hSliderValue = GUI.HorizontalSlider(new Rect(25, 45, 100, 30), hSliderValue, 5.0f, 200.0f);
    }
}
```
