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