This version of Unity is unsupported.

ParticleSystem.AllocateCustomDataAttribute

Switch to Manual

Declaration

public void AllocateCustomDataAttribute(ParticleSystemCustomData stream);

Parameters

stream The custom data stream to allocate.

Description

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

This is important if you want to use either of these attributes in a job, such as IJobParticleSystem.