Question by
zwoxy · Mar 01, 2017 at 08:26 AM ·
unity 5networkingmultiplayer
Using syncVar in networkManager
I'm developing a multiplayer game with different gamemodes. I have a gamemode variable in the networkLobbyManager that stores the gamemmode as an integer. I obvioulsy need this variable to sync to the client so that every client knows what gammode they are playing. However, I can't use syncvars because the networkManager is not a networkbehaviour for some reason. I also can't send an rpc to the clients to make them update the gamemode variable. So the gamemode is just stored locally on the host. I am out of ideas. Does anyone have any suggestions?
Comment