Quantcast
Viewing all articles
Browse latest Browse all 16796

NetworkDiscovery.broadcastData can not change?

Hi, I'm making a matchMaker for wlan use. Something like the server tells the current player counts, the game name etc. Then I found NetworkDiscovery, and broadcastData can used to do so.
My problem is when I changed the broadcastData in the server, the client doesnt change the same way, it remains the initial data that it was recieved.
Here is some code in my LobbyManager:

int count = 0;
public override void OnStartHost()
{
base.OnStartHost();...

NetworkDiscovery.broadcastData can not change?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>