Method WaitForClientsConnectedToServer
WaitForClientsConnectedToServer(NetworkManager, int, ResultWrapper<bool>, float)
Waits on the server side for 1 client to be connected
Declaration
public static IEnumerator WaitForClientsConnectedToServer(NetworkManager server, int clientCount = 1, NetcodeIntegrationTestHelpers.ResultWrapper<bool> result = null, float timeout = 4)
Parameters
Type | Name | Description |
---|---|---|
NetworkManager | server | The server |
int | clientCount | |
NetcodeIntegrationTestHelpers.ResultWrapper<bool> | result | The result. If null, it will automatically assert |
float | timeout |
Returns
Type | Description |
---|---|
IEnumerator |