Struct NetworkSettings
An aggregate of the different parameter structures that describe a network configuration.
Implements
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
public struct NetworkSettings : IDisposable
Constructors
Name | Description |
---|---|
Network |
Creates a new settings object using the provided allocator. If no allocator is
provided, |
Properties
Name | Description |
---|---|
Is |
If the settings have been created (e.g. not disposed). |
Methods
Name | Description |
---|---|
Add |
Add a new parameter structure to the list. Only one instance of any parameter type is stored at a time. Adding a new instance of an existing parameter structure will overwrite the one that is already stored. |
As |
Get a read-only copy of the settings. |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Try |
Try to get the parameter structure for the specified type. |