docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WaitForClientsConnectedOrTimeOut

    WaitForClientsConnectedOrTimeOut(NetworkManager[])

    Validates that all remote clients (i.e. non-server) detect they are connected to the server and that the server reflects the appropriate number of clients have connected or it will time out.

    Declaration
    protected IEnumerator WaitForClientsConnectedOrTimeOut(NetworkManager[] clientsToCheck)
    Parameters
    Type Name Description
    NetworkManager[] clientsToCheck

    An array of clients to be checked

    Returns
    Type Description
    IEnumerator

    WaitForClientsConnectedOrTimeOut()

    Overloaded method that just passes in all clients to WaitForClientsConnectedOrTimeOut(NetworkManager[])

    Declaration
    protected IEnumerator WaitForClientsConnectedOrTimeOut()
    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)