docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate GhostPrefabCustomSerializer.ChunkPreserializeDelegate

    Delegate for the custom chunk pre-serialization function.

    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public delegate void GhostPrefabCustomSerializer.ChunkPreserializeDelegate(in ArchetypeChunk chunk, in GhostCollectionPrefabSerializer typeData, in DynamicBuffer<GhostCollectionComponentIndex> componentIndices, ref GhostPrefabCustomSerializer.Context context)
    Parameters
    Type Name Description
    ArchetypeChunk chunk

    Chunk

    GhostCollectionPrefabSerializer typeData

    Type data

    DynamicBuffer<GhostCollectionComponentIndex> componentIndices

    Component indices

    GhostPrefabCustomSerializer.Context context

    Context

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)