Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.59 KB

player-state.md

File metadata and controls

49 lines (38 loc) · 1.59 KB

Player State Example for Unity Multiplayer

Player state represents the information associated with each player during a multiplayer match.

A well-structured player state helps the server track players and allows clients to display the correct information without mixing gameplay data with visual presentation.

This example demonstrates a simple player-state structure for a Unity multiplayer board game.


📑 Table of Contents


What Is Player State?

Player state is a collection of values describing a player's current status in a multiplayer game.

For example:

Player State
├── Player ID
├── Player Name
├── Position
├── Score
├── Ready State
├── Turn State
└── Connection State