docs.unity.cn
    Show / Hide Table of Contents

    Struct EntityReferenceChange

    Represents an entity reference that was changed within a EntityChangeSet

    This structure references the entity by it's unique EntityGuid.

    Namespace: Unity.Entities
    Syntax
    public struct EntityReferenceChange
    Remarks

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

    Fields

    Name Description
    Component

    The entity and component this patched is targeted at.

    Offset

    The field offset for the Entity field.

    Value

    The entity that the field should reference. Identified by the unique EntityGuid.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use