Networking Health

Hello!

I am in a situation were I have an enemy with health, and I want to allow multiple players to attack the enemy at the same time deducting health from the enemy, but I dont know how to go about it I have got a health system working but each player has a diffrent amount of health for the enemy.

Conclusion:
“How would I go about networking an enemys health?”

Use a NetworkBehaviour + NetworkIdentity on the object to network it with UNET.
In the NetworkBehaviour script you can have a [SyncVar] with the health. Make the server the master controller of health and only change the value on the server. The changed health values will trickle down to the clients via. SyncVar.