Struct IPCAndSocketDriverConstructor
The default NetCode driver constructor, initialise the server world to use multiple Unity.
- On the server: both IPCNetwork
Interface and UDPNetworkInterface NetworkDriver in the editor and only a single UDPNetworkInterface driver in the build. - On the client:
- a single IPCNetwork
Interface NetworkDriver if the both client and server worlds are present in the same process. - a single UDPNetwork
Interface driver in all other cases.
In the Editor and Development build, if the network simulator is enabled, force on the client to use the UDPNetworkInterface network driver.
- a single IPCNetwork
Implements
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct IPCAndSocketDriverConstructor : INetworkStreamDriverConstructor
Methods
Name | Description |
---|---|
Create |
Create and register a new Network |
Create |
Create and register one or more network drivers that can be used to listen for incoming connection into the destination Network |