- Home /
Question by
kigm · Jul 08, 2016 at 12:21 PM ·
networkingmultiplayer-networkingserverside
How can I use NetworkServer.connections?
Hello,
How can I go over a ReadOnlyCollection like NetworkServer.connections? I tried with foreach but it says that objects are null. I need when a player that loaded dynamically a model disconnects from server, to pass the authority to the next player, and of course not destroy the object when first player disconnnects as well
Thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612084400im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
what is the best way to implement server side of a multiplayer game? 1 Answer
create android multiplayer game using wifi ? 0 Answers
UNET Different size of spawned object on host and client 1 Answer
Networking: Standalone Simulation Server 0 Answers
Not calling OnServerAddPlayer() when client connect 0 Answers