Struct NetworkSettings
A list of the parameters that describe the network configuration.
Implements
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
public struct NetworkSettings : IDisposable
Constructors
| Name | Description |
|---|---|
| NetworkSettings(Allocator) | Creates a new NetworkSettings object using the provided allocator. If no Allocator is provided, Allocator.Temp will be used. |
Properties
| Name | Description |
|---|---|
| IsCreated | If the settings have been created (e.g. not disposed). |
Methods
| Name | Description |
|---|---|
| AddRawParameterStruct<T>(ref T) | Adds a new parameter to the list. There must be only one instance per parameter type. |
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| TryGet<T>(out T) | Try to get the parameter values for the specified type. |