Summary - Quick match with peer-to-peer - (Unity module)
Last updated on November 25, 2024
info
Browsing P2P sessions is not supported in WebGL builds due to the AccelByte Gaming Services (AGS) SDK for Unity lacking the P2P functionality for WebGL.
Congratulations
In this module, you learned how to implement:
- Matchmaking to connect using a peer-to-peer network.
- Game clients joining and leaving game sessions.
Resources
- Full Code of this tutorial module.
- Assets/Resources/Modules/MatchmakingSessionP2P/MatchmakingWithP2PAssetConfig.asset
- Assets/Resources/Modules/MatchmakingSessionP2P/Prefabs/MatchmakingSessionP2P_Starter.prefab
- Assets/Resources/Modules/MatchmakingSessionP2P/Scripts/UI/MatchmakingSessionP2PHandler_Starter.cs
- Assets/Resources/Modules/MatchmakingSessionP2P/Scripts/MatchmakingSessionP2PWrapper_Starter.cs
- Assets/Resources/Modules/MatchmakingSessionP2P/Scripts/P2PHelper.cs