docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ShouldWaitForNewClientToConnect

    ShouldWaitForNewClientToConnect(NetworkManager)

    CreateAndStartNewClient Only Override this method to bypass the waiting for a client to connect.

    Declaration
    protected virtual bool ShouldWaitForNewClientToConnect(NetworkManager networkManager)
    Parameters
    Type Name Description
    NetworkManager networkManager
    Returns
    Type Description
    bool
    Remarks

    Use this for testing connection and disconnection scenarios

    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)