docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method StartClient

    StartClient()

    Connects client to the server Note: When this method returns false it could mean:

    • You are trying to start a client that is already started
    • It failed during the initial port binding when attempting to begin to connect
    Declaration
    public override bool StartClient()
    Returns
    Type Description
    bool

    true if the client was started and false if it failed to start the client

    Overrides
    NetworkTransport.StartClient()
    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)