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 Relay documentation contains additional information on the usage of this sample.
The sample has the following requirements:
If you would like to use the code from this sample in your own project, please perform the following steps:
com.unity.jobs
package using the Unity Package Manager.com.unity.services.relay
package using the Unity Package Manager.Assets/UTPTransport
folder from this sample into the Assets/
directory of your own project.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.