Skip to content

Commit 4410621

Browse files
Vic-CooperjabbacakesNoelStephensUnityDSchroerr-mach
authored
Merge develop into main (#1334)
Co-authored-by: Amy Reeve <[email protected]> Co-authored-by: Noel Stephens <[email protected]> Co-authored-by: Dominick <[email protected]> Co-authored-by: Rémi MACH <[email protected]> Co-authored-by: LagowiecDev <[email protected]> Co-authored-by: amanda-butler-unity <[email protected]> Co-authored-by: Griffin of Innatical <[email protected]> Co-authored-by: Christopher Pope <[email protected]> Co-authored-by: Steve Diniro <[email protected]> Co-authored-by: s-omeilia-unity <[email protected]> Co-authored-by: Alex Martin <[email protected]> Co-authored-by: Monaxys <[email protected]> Co-authored-by: Flap27 <[email protected]> Co-authored-by: NRTnarathip <[email protected]> Co-authored-by: Elfi0Kuhndorf <[email protected]> Co-authored-by: CodeSmile <[email protected]> Co-authored-by: Frank Luong <[email protected]> Co-authored-by: Sue Arkin <[email protected]> Co-authored-by: Johann Ruwet <[email protected]> Co-authored-by: KreutzerCode <[email protected]> Co-authored-by: Dominick <[email protected]> Co-authored-by: Paolo Abela <[email protected]>
1 parent da87938 commit 4410621

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

docs/learn/bitesize/bitesize-introduction.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: About Bitesize samples
55

66
The Bitesize Samples repository provides a series of sample code as modules to use in your games and better understand Netcode for GameObjects (Netcode).
77

8+
* [Multiplayer Use Cases](bitesize-usecases.md) - Learn more about core Netcode For GameObjects (Netcode) features through practical examples and In-Editor tutorials.
89
* [2D Space Shooter Sample](bitesize-spaceshooter.md) - Learn more about physics movement and status effects using Netcode `NetworkVariables` and `ObjectPooling`.
910
* [Invaders Sample](bitesize-invaders.md) - Learn more about game flow, modes, unconventional movement networked, and a shared timer.
1011
* [Client Driven Sample](bitesize-clientdriven.md) - Learn more about Client driven movements, networked physics, spawning vs statically placed objects, object reparenting.
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
id: bitesize-usecases
3+
title: Multiplayer Use Cases sample
4+
description: Learn about the scenes in the Multiplayer Use Cases sample.
5+
---
6+
7+
The [Multiplayer Use Cases Sample](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/tree/main/Basic/MultiplayerUseCases) provides multiple scenes that explain some APIs, systems, and concepts that you can use with Netcode for GameObjects:
8+
9+
- Server-side manipulation of data sent by Clients.
10+
- State synchronization through NetworkVariables.
11+
- Proximity interactions that are only visible only to the local player.
12+
- Client-server communication through Remote Procedure Calls (RPCs).
13+
14+
### Tutorials
15+
16+
Each scene includes a tutorial to help you locate the scripts and GameObjects it uses. Follow the tutorial included in each sample scene to learn how to use it.
17+
18+
The tutorials that open with each scene use the [Tutorial Framework package](https://docs.unity3d.com/Packages/[email protected]/manual/index.html). You can open each tutorial at any time from the **Tutorials** menu.
19+
20+
## The NetvarVsRpc scene
21+
22+
The NetvarVsRpc scene explains why to use NetworkVariables instead of Remote Procedure Calls (RPCs) to perform state synchronization.
23+
24+
## The NetworkVariables scene
25+
26+
The NetworkVariables scene shows you how to use NetworkVariables to perform state synchronization in a way that also sends the most recent information to late joining or reconnecting clients.
27+
28+
## The ProximityChecks scene
29+
30+
The ProximityChecks scene shows you how to detect the local user and enable or disable in-game actions based on the player character's distance from a GameObject.
31+
32+
## The RPCs scene
33+
34+
The RPCs scene semonstrates the following Remote Procedure Call (RPC) processes:
35+
* Use RPCs to send information from clients to the server.
36+
* Perform server-side manipulation of the data sent.
37+
* Use connection approval to determine the spawn position of the player.
38+
39+
## Additional resources
40+
41+
- Get help and ask questions on [Multiplayer Discussions](https://discussions.unity.com/lists/multiplayer).
42+
- Join the community of Multiplayer creators on the [Multiplayer Networking Discord](https://discord.gg/unity-multiplayer-network).
43+
- [Request a feature or report a bug](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/issues/new/choose).

sidebars.js

+4
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,10 @@ module.exports = {
543543
"type": "category",
544544
"label": "Bitesize samples",
545545
"items": [
546+
{
547+
"type": "doc",
548+
"id": "learn/bitesize/bitesize-usecases"
549+
},
546550
{
547551
"type": "doc",
548552
"id": "learn/bitesize/bitesize-introduction"

0 commit comments

Comments
 (0)