AllocateCustomDataAttribute(ParticleSystemCustomData)
Ensures that the customData1 and customData2 particle attribute arrays are allocated.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public void AllocateCustomDataAttribute(ParticleSystemCustomData stream)
Parameters
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.