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 | |
GhostCollectionPrefabSerializer | typeData | |
DynamicBuffer<GhostCollectionComponentIndex> | componentIndices | |
GhostPrefabCustomSerializer.Context | context |