docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Start

    Start(bool, NetworkManager, NetworkManager[], BeforeClientStartCallback)

    Starts NetworkManager instances created by the Create method.

    Declaration
    public static bool Start(bool host, NetworkManager server, NetworkManager[] clients, NetcodeIntegrationTestHelpers.BeforeClientStartCallback callback = null)
    Parameters
    Type Name Description
    bool host

    Whether or not to create a Host instead of Server

    NetworkManager server

    The Server NetworkManager

    NetworkManager[] clients

    The Clients NetworkManager

    NetcodeIntegrationTestHelpers.BeforeClientStartCallback callback

    called immediately after server is started and before client(s) are started

    Returns
    Type Description
    bool
    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)