In this video we look at SyncVar's and how to synchronize variables across the network by making a player health script.
This allows us to take the re-spawn method out of the LaserGun script (it really should never have been there!) and create a bit more functionality by having the weapon make a certain amount of damage rather than instantly re-spawn the player.
Download
0 formats
No download links available.
Unity Multiplayer Tutorial Part 6- Player Health | NatokHD