{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Multiplayer roles | Dedicated Server | 0.10.0
docs.unity3d.com
Search Results for

    Multiplayer roles

    The Dedicated Server package introduces the concept of Multiplayer Role which describes the different roles that a Unity application can have in a multiplayer game. For example, a game can have a Client role and a Server role. The Client role is the one that is used by the players to play the game. The Server role is the one that is used to host the game and run the simulation.

    To enable the feature go to the Project Settings window, select the Multiplayer settings section and enable the Multiplayer Roles option.

    When Content Selection is enabled, a new dropdown will appear in the toolbar of the Editor. This dropdown allows to select the multiplayer role to be used when entering play mode.

    To specify which multiplayer role should be used when building, go to the Build Settings window and select the target platform. A new Multiplayer Role dropdown allows you to decide which multiplayer role to use for each build target.

    In This Article
    Back to top
    Copyright © 2023 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)