docs.unity.cn
    Show / Hide Table of Contents

    Method AppendEntityPatches

    AppendEntityPatches(EntityRemapUtility.EntityPatchInfo*, TypeManager.EntityOffsetInfo*, Int32, Int32, Int32)

    Adds EntityRemapUtility.EntityPatchInfo elements for each of the input offsets.

    Declaration
    public static EntityRemapUtility.EntityPatchInfo*AppendEntityPatches(EntityRemapUtility.EntityPatchInfo*patches, TypeManager.EntityOffsetInfo*offsets, int offsetCount, int baseOffset, int stride)
    Parameters
    Type Name Description
    EntityRemapUtility.EntityPatchInfo* patches

    The patch array.

    TypeManager.EntityOffsetInfo* offsets

    The offset array.

    Int32 offsetCount

    The number of offsets in the array.

    Int32 baseOffset

    The base offset of the patch.

    Int32 stride

    The stride of the patch.

    Returns
    Type Description
    EntityRemapUtility.EntityPatchInfo*

    Returns a pointer to the next free slot in the patches array.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023