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
Assembly: Unity.Networking.Transport.dll
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 |
---|---|
bool | True if the parameter is valid, false otherwise. |