Documentation
Ask or search…
K
Links
Comment on page

Network player

Overview

When a player connects to the game, the NetworkManager will automatically instantiate a copy of the PlayerPrefab for that player, which is a Network Player. The Network Player is then controlled by the player through their client. The NetworkManager handles the networking aspect, ensuring that the player’s actions are correctly replicated across all clients in the game.

Guide

Players add new scripts that support Network: Network Object, Network Transform and Network Rigidbody.
The class Network Char Controller includes references to NetworkObject and PlayerCharacter and controls the character's movements from Server Side.
Player Data gets Player Input and sends to Server