docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddRawParameterStruct

    AddRawParameterStruct<T>(ref T)

    Adds a new parameter to the list. There must be only one instance per parameter type.

    Declaration
    public void AddRawParameterStruct<T>(ref T parameter) where T : unmanaged, INetworkParameter
    Parameters
    Type Name Description
    T parameter

    The parameter to add.

    Type Parameters
    Name Description
    T

    The type of INetworkParameter to add.

    Exceptions
    Type Condition
    ArgumentException

    Throws an argument exception if the paramter type is already in the list or if it contains invalid values.

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