docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GhostCollectionCustomSerializers

    Singleton component that holds the list of custom chunk serializers.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public struct GhostCollectionCustomSerializers : IComponentData, IQueryTypeParameter

    Fields

    Serializers

    Associate a GhostPrefabCustomSerializer for a specific prefab guid (or GhostType) The Hash128 can be derived from the GhostType via the explicit cast operator.

    Declaration
    public NativeHashMap<Hash128, GhostPrefabCustomSerializer> Serializers
    Field Value
    Type Description
    NativeHashMap<Hash128, GhostPrefabCustomSerializer>

    Implements

    Unity.Entities.IComponentData
    Unity.Entities.IQueryTypeParameter
    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)