docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    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)