文档

Unity Engine

Unity Engine

ComponentData

Data payload for all component changes specified in EntityChangeSet.SetComponents
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Field
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public readonly NativeArray<byte> ComponentData

Remarks

Data changes are tightly packed. Use the PackedComponentDataChange.Size to read back.