기술 자료

Unity Engine

Unity Engine

AllocateCustomDataAttribute(ParticleSystemCustomData)

Ensures that the customData1 and customData2 particle attribute arrays are allocated.
읽는 시간 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.