I’m fairly new to unity so please bare with me. I am looking for a way to create player colors based on the number of players already connected to the server (There is no master server, this is all done via lan). On my server game I can see the actual number of connections to the server but my clients only count their own connection and have no idea how many players are already on the server. How can I send the server count to the client so I can change the color of their model based on the current populace. I assume RPC, but not sure how to go about it. I already have RPC setup to change their colors and it works but without the clients being able to tell the server count they’ll all just spawn with index [1] color. :?:
You want a single Integer to be shared over network to know what color to assign the new connected players. hmm;
… have you looked into RPC?