Struct PackedComponentDataChange | Entities | 0.16.0-preview.21
docs.unity.cn
    Show / Hide Table of Contents

    Struct PackedComponentDataChange

    Represents a packed component data change within a EntityChangeSet

    Namespace: Unity.Entities
    Syntax
    public struct PackedComponentDataChange

    Fields

    Component

    The entity and component this change is targeted.

    Declaration
    public PackedComponent Component
    Field Value
    Type Description
    PackedComponent

    Offset

    The start offset for this data change.

    Declaration
    public int Offset
    Field Value
    Type Description
    Int32
    Remarks

    This is the field offset and NOT the payload offset.

    Size

    The size of this data change. This is be the size in ComponentData for this entry.

    Declaration
    public int Size
    Field Value
    Type Description
    Int32
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 30 October 2020