Use multiplayer sessions
Guides and information on how to implement multiplayer sessions in your game.
阅读时间1 分钟最后更新于 16 天前
Use multiplayer sessions to create and manage connected players, support session ownership, and hosting scenarios.
Page | Description |
|---|---|
| Integrate Multiplayer sessions | Implement multiplayer functionality in your games using sessions, a unified system that manages player connections and interactions. |
| Initialize UGS and authenticate the player | Initialize Unity Gaming Services in your project, and authenticate the player to prepare for multiplayer functionality. |
| Create a session | Configure session options and choose network connection types to add multiplayer support to your project. |
| Find and join a session | Implement ways for joining multiplayer sessions by entering a join code, browsing available sessions, or reconnecting after a disconnection. |
| Match players | Find and join the most suitable multiplayer sessions for a given player using matchmaking. |
| Migrate session host | Learn about changing session ownership, including host election and data migration. |
| Leave a session | Learn how players can leave a session and what happens when they exit. |
| Get joined sessions | Retrieve a list of all sessions that the current player has joined. |
| Delete a session | Permanently delete a session to remove it from the system and disconnect all players. |
| Session configuration options | Learn about available session configuration options and their default values. |
| Game server hosting support | Integrate different hosting solutions using Cloud Code modules to manage servers. |