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