# SetBurst(int, Burst)

> Sets a single burst in the array of bursts.

## Definition

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

```csharp
public void SetBurst(int index, ParticleSystem.Burst burst)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the burst to set.**** (\[Burst]\(/engine/6000.5/script-reference/unityengine/particlesystem/burst)): The new burst data to apply to the Particle System.

### Remarks

Additional Resources: [ParticleSystem.Burst](/engine/6000.5/script-reference/unityengine/particlesystem/burst.md), [ParticleSystem.EmissionModule.SetBursts](/engine/6000.5/script-reference/unityengine/particlesystem/emissionmodule/setbursts.md).
