AllocateCustomDataAttribute(ParticleSystemCustomData)
Ensures that the customData1 and customData2 particle attribute arrays are allocated.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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.