Relay in Unity allows you to host a game online, receive a join code, and share it with your friends all over the world, so they can easily join the same game. Relay doesn't use dedicated servers, but all of the data from the users needs to first pass through it. This means that the players are not directly connected, which makes your multiplayer game a lot safer.
Start Project Files - https://github.com/Freedom-Coding/Net...
👍 Like and 🔔Subscribe for More Unity and C# Tutorials / @freedomcoding
🌟 Support My Work and Unlock Exclusive Content! 🌟
👉 Patreon: / freedomcoding
🎮 Join Our Developer Community!
💬 Discord: / discord
💖 Support Me Financially
☕ PayPal: [email protected]
Are you looking for a Unity/C# tutor? Contact me here - [email protected]
Website - https://www.freedom-coding.com
Timestamps:
00:00 Why To Use Relay?
00:33 Project Setup
01:57 Creating a Relay (Hosting)
06:44 Joining a Relay
07:55 Testing On 2 Devices
08:28 Error Handling
09:10 Conclusion