A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs-multiplayer.unity3d.com/netcode/current/learn/distributed-authority-webgl/ below:

Distributed authority and WebGL quickstart

Distributed authority and WebGL quickstart

Use this guide to learn how to create your first distributed authority Netcode for GameObjects WebGL project.

This guide is intended as an addition to the distributed authority general quickstart page, which provides more details about setting up Netcode for GameObjects to use distributed authority.

Prerequisites​

Before you begin, you need the following general requirements to use the distributed authority network topology:

You also need the following packages and minimum versions for a WebGL distributed authority session:

Create and set up your project​

Follow the instructions on the distributed authority general quickstart page.

Configure the transport to use websockets​

Enable the Use Web Sockets checkbox on the DistributedAuthorityTransport component that was added to the NetworkManager object.

Build and run with WebGL​
  1. Navigate to File > Build Profiles to open the Build Profiles window. Select WebGL as your target platform.
  2. From the Build Profiles window, click Build and Run.
  3. Once you have one instance of your WebGL project running, you can copy the URI from your browser and paste it into another window or tab, which creates and connects another player to the same session.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4