文档

Unity Engine

Download Unity

Unity Engine

EntityReferenceChange

Represents an entity reference that was changed within a EntityChangeSet This structure references the entity by it's unique EntityGuid.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Struct
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public struct EntityReferenceChange

Remarks

Multiple patches could exist for the same component with different offsets.

Fields

Value

Description

ComponentThe entity and component this patched is targeted at.
OffsetThe field offset for the Entity field.
ValueThe entity that the field should reference. Identified by the unique EntityGuid.