docs.unity.cn
    Show / Hide Table of Contents

    Interface INetworkParameter

    Interface used to implement custom values for use with NetworkSettings. This is only useful to provide configuration settings for custom INetworkInterface or INetworkPipelineStage implementations.

    Namespace: Unity.Networking.Transport
    Syntax
    public interface INetworkParameter

    Methods

    Validate()

    Checks if the values for all fields are valid. This method will be automatically called when adding parameters to the NetworkSettings.

    Declaration
    bool Validate()
    Returns
    Type Description
    Boolean

    Returns true if the parameter is valid.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 28, 2023