nicholas-maltbie / PropHunt-Mirror

PropHunt project made using Unity and Mirror Networking
MIT License
5 stars 1 forks source link

Setup Networked UI Screen Manager #47

Closed nicholas-maltbie closed 3 years ago

nicholas-maltbie commented 3 years ago

Based on the GamePhase while connected to the network.

Will have to synchronize the GamePhase to clients (this is not currently done right now but should be relatively easy to manage). This should be achieved through some kind of networked object that has a sync var to manage this information between client and server or through messages so the information is synchronized even if a player connects mid game.

Based on the current game state, different UI screens should be selected allowing the player to view different screens.

Later on this can be divided by the players team so the Prop and Hunter UI can be changed independently but this can be set for a later feature.