Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

How to get GamePrefab NetID from CustomLobbyManager?

$
0
0
Hello there,

Is there any way to get GamePrefab NetID from CustomLobbyManager? I want to create list all of the connected players (not lobby ones) but I can't get netID from game prefab. I thought I got it once but when I hosted game on build and joined in the editor I had one netID from lobbyplayer and one from gameprefab...

First I was trying this one but it was adding lobby's player netID to the list
Code (CSharp):
  1.     public override void OnServerAddPlayer(NetworkConnection conn, short...
How to get GamePrefab NetID from CustomLobbyManager?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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