Method Start
Start(bool, NetworkManager, NetworkManager[], BeforeClientStartCallback)
Starts NetworkManager instances created by the Create method.
Declaration
public static bool Start(bool host, NetworkManager server, NetworkManager[] clients, NetcodeIntegrationTestHelpers.BeforeClientStartCallback callback = null)
Parameters
Type | Name | Description |
---|---|---|
bool | host | Whether or not to create a Host instead of Server |
NetworkManager | server | The Server NetworkManager |
NetworkManager[] | clients | The Clients NetworkManager |
NetcodeIntegrationTestHelpers.BeforeClientStartCallback | callback | called immediately after server is started and before client(s) are started |
Returns
Type | Description |
---|---|
bool |