NetworkBehaviour
Understand how to use NetworkBehaviour components in your project.
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. |