docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)