docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SerializeNetworkSerializable

    SerializeNetworkSerializable<T>(ref T)

    Read or write a NetworkSerializable value. SerializeValue() is the preferred method to do this - this is provided for backward compatibility only.

    Declaration
    void SerializeNetworkSerializable<T>(ref T value) where T : INetworkSerializable, new()
    Parameters
    Type Name Description
    T value

    The value to read/write

    Type Parameters
    Name Description
    T

    The network serializable type

    In This Article
    Back to top
    Copyright © 2024 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)