- Home /
This question was
closed May 07, 2018 at 08:20 AM by
Myth for the following reason:
The question is answered, right answer was accepted
Question by
Myth · Oct 13, 2013 at 02:55 AM ·
c#networkingconnectionhost
how to find out if player hosted game
Sounds like a stupid question, but... I have no idea how to find out. Looking for C# to find out if a player has hosted or connected to a game.
Comment
Best Answer
Answer by Pecek · Oct 13, 2013 at 07:16 AM
I think the simplest way to do this is to use a value which stores the player's id - obviously only set it when it is empty, so only the first joined player can be stored.
Follow this Question
Related Questions
C# Networking Issue 1 Answer
Checking internetReachability from another Thread 1 Answer
Unity networking tutorial? 6 Answers
Unity Multiplayer Networking..... in 2D!?!? crazy i know! 1 Answer