I’m new to networking and making local-host multiplayer game. Probably a stupid qustion, but how to do that?
I have this code, if damage is applied I need to apply it on all clients and update UI on all clients. How to do that?
public class Health : NetworkBehaviour
{
public void ApplyDamage(int damage)
{
//change health logic
HealthChanged.Invoke();
}
}