Unity Mirror Sample project! This project demonstrates how to use Unity Transport Package (UTP) and Relay service with the Mirror Networking API.
Перейти к файлу
James Marcil c37bec9289
Merge pull request #13 from Unity-Technologies/update-sample-button-text
Update Sample Button Text for Clarity
2022-10-17 17:07:51 -04:00
.vscode Initial commit to the repository. 2022-10-17 13:50:41 -04:00
Assets Update sample buttons for increased clarity. 2022-10-17 16:59:35 -04:00
Packages Initial commit to the repository. 2022-10-17 13:50:41 -04:00
ProjectSettings Initial commit to the repository. 2022-10-17 13:50:41 -04:00
.gitattributes Initial commit to the repository. 2022-10-17 13:50:41 -04:00
.gitignore Initial commit to the repository. 2022-10-17 13:50:41 -04:00
.vsconfig Initial commit to the repository. 2022-10-17 13:50:41 -04:00
CONTRIBUTING.md Initial commit to the repository. 2022-10-17 13:50:41 -04:00
LICENSE.md Initial commit to the repository. 2022-10-17 13:50:41 -04:00
README.md Initial commit to the repository. 2022-10-17 13:50:41 -04:00
Third Party Notices.md Initial commit to the repository. 2022-10-17 13:50:41 -04:00

README.md

Unity Relay Mirror Sample

The Unity Relay Mirror Sample demonstrates how to use the Unity Transport Package, the Unity Relay service, and the Mirror Networking library together.

  • The Unity Transport Package is a low-level networking library that provides a connection-based abstraction layer over UDP sockets with optional functionality such as reliability, ordering, and fragmentation.
  • Relay is a Unity service that facilitates securely connecting players by using a join code style workflow without the need for dedicated game servers or peer-to-peer communication.
  • The Mirror Networking library is a high-level networking library for the Unity Platform.

The Unity Relay documentation contains additional information on the usage of this sample.

Requirements

The sample has the following requirements:

Installation

If you would like to use the code from this sample in your own project, please perform the following steps:

  1. Install the latest version of Mirror.
  2. Install the latest version of the com.unity.jobs package using the Unity Package Manager.
  3. Install the latest version of the com.unity.services.relay package using the Unity Package Manager.
  4. Copy the Assets/UTPTransport folder from this sample into the Assets/ directory of your own project.

Community and Feedback

The Unity Relay Mirror Sample is an open-source project and we encourage and welcome contributions. If you wish to contribute, be sure to review our contribution guidelines.