docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate SerializationManager.CustomSerializationDelegate<T>

    The delegate used when registering custom serialization for a type.

    Namespace: MLAPI.Serialization
    Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
    Syntax
    public delegate void SerializationManager.CustomSerializationDelegate<T>(Stream stream, T instance)
    Parameters
    Type Name Description
    Stream stream

    The stream to write data to that is required to reconstruct the type in the deserialization delegate.

    T instance

    The instance to serialize to the stream.

    Type Parameters
    Name Description
    T

    The type to serialize.

    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)