- Home /
Question by
Mentality · Jul 07, 2015 at 12:14 PM ·
networkingservercontrolhostunity multiplayer
[UNET] How to pass control back to server
I'm using "NetworkServer.ReplacePlayerForConnection" on gameobjects which given in control of player, if he's disconnecting I'm need to pass control back to server.
Comment
Answer by seanr · Jul 08, 2015 at 01:43 PM
you can destroy the player object.
But i need that object to be alive, for example like in L4D game. $$anonymous$$ay be the trick is destroying object and making copy of it, but i thought there is some other way.
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
How to make camera position relative to a specific target. 1 Answer
Trying to store a variable for all clients 0 Answers
MasterServer.RegisterHost Issue 0 Answers
Multiplayer Server Networking- Player Server Hosting 2 Answers