# AllocateCustomDataAttribute(ParticleSystemCustomData)

> Ensures that the customData1 and customData2 particle attribute arrays are allocated.

## Definition

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

```csharp
public void AllocateCustomDataAttribute(ParticleSystemCustomData stream)
```

### Parameters

**** (\[ParticleSystemCustomData]\(/engine/6000.6/script-reference/unityengine/particlesystemcustomdata)): The custom data stream to allocate.

### Remarks

This is important if you want to use either of these attributes in a job, such as [IJobParticleSystem](/engine/6000.6/script-reference/unityengine/particlesystemjobs/ijobparticlesystem.md).
