文档

​
​

Development

User Acquisition

Monetization

工业

Services

Collaboration

LiveOps

Multiplayer

Services

此页面不支持所选语言。
​
​
Overview
  • Overview
  • Get started
  • Pricing and billing
  • Concepts
  • Release notes
Secret Manager
  • Overview
  • Concepts
  • Tutorials
  • Reference
Services
  • Collaboration
  • LiveOps
  • Multiplayer
Reference
  • Overview
Solutions
  • Overview
  • Sample projects
  1. Overview

Solutions overview

Explore sample projects and feature integrations demonstrating how to use UGS features together to build complete game solutions.
阅读时间3 分钟
最后更新于 6 个月前

Unity provides a range of sample projects and examples to help you implement features and end-to-end solutions.

Sample projects

The following samples can help you implement UGS features in your games.

Sample project

Description

UGS use cases projectContains a collection of samples designed to demonstrate how to use multiple UGS products in a single Unity project to solve common game development challenges.
Friends sampleDemonstrates how to implement the Friends service to create a more social experience for your game's users.
Dedicated game server sampleA sample project, using Netcode for GameObjects and Matchmaker, that demonstrates the structure of a project with the dedicated server, and the tools that you can use to configure it.
Unity Mirror SampleDemonstrates how to use Relay and the Unity Transport Package (UTP) with the Mirror Networking API.
Block Your Friends game sampleA sample multiplayer game which incorporates various UGS products.
Boss Room game sampleA fully functional co-op multiplayer RPG made with Unity Netcode and the Relay, Lobby and Authentication services.
Cloud Code trigger samplesA set of samples that allow you to use Cloud Code triggers to automate functionality from other services such as Authentication, Cloud Save, Leaderboards, and Economy.
Multiplayer chess sampleDemonstrates how to implement a server-authoritative asynchronous multiplayer game using UGS, without needing a dedicated game server. This uses Cloud Code to provide server authority, Leaderboards to rank players, and Lobby to provide a game lobby experience.
Gem Hunter Match UGS sampleA sample project based on common features in mobile and live service games, including social features, a progression system, and an in-game store.

Feature integration

Various Unity Gaming Services work well together to let you create advanced solutions for your users.
The following table gives an overview of use cases that use multiple UGS features to achieve a larger goal.

Use case

Description

Authentication use casesOverview of services you can use with Authentication.
Authentication for LobbyHow to set up Authentication for Lobby.
Authentication for MatchmakerHow to set up Authentication for Relay.
Cloud Code integrationHow to integrate Cloud Code with other services.
Using Cloud Code with Remote ConfigHow to use Cloud Code with Remote Config.
Creating Game Overrides with CCD and Remote ConfigHow to create Game Overrides with CCD and Remote Config.
Economy Game Overrides with Cloud CodeHow to create Game Overrides for Economy with Cloud Code.
Game Overrides use casesOverview of example scenarios for using Game Overrides.
Reducing ad frequency for engaged playersHow to use Game Overrides to tailor the in-game experience for users.
Integrate Lobby with RelayHow to integrate Lobby with Relay.
Integrate Lobby with VivoxHow to integrate Lobby with Vivox.
Party matchmakingHow to create parties with matchmaking, and share data using Lobby.
Use Relay with Netcode for GameObjectsHow to use Relay with Netcode.
Use Relay with UTPHow to use Relay with the Unity Transport Package.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Sample projects

    • Feature integration

  • 其他资源
  • Unity Gaming Services tutorial series
  • Unity Gaming Services tutorial series discussions

报告此页面的问题