Samples
Use the samples in this section to learn how to use Netcode for GameObjects in your projects. The samples are designed to help you understand the concepts and features of Netcode for GameObjects, and they provide practical examples of how to implement multiplayer functionality in Unity games.
Topic | Description |
---|---|
NetworkBehaviour | NetworkBehaviour is an abstract class that derives from MonoBehaviour and is primarily used to create unique netcode or game logic. To replicate any netcode-aware properties or send and receive RPCs, a GameObject must have a NetworkObject component and at least one NetworkBehaviour component. |
Synchronize | You can use NetworkBehaviours to synchronize settings before, during, and after spawning NetworkObjects. |