Hey. I "attached" to my multiplayer game (unity3d multiplayer tutorial helped). Everything works perfectly, but I only have 1 question: how to get the server’s IP address and port and bring it to GUILayout.Label?

    1 answer 1

    The guy with Unity3D.ru prompted , for which he thanks him enormously:

    if (useNat) GUILayout.Label("GUID: " + Network.player.guid); //при использованиии ната IP и Port заменяет этот.. GUID номер. else GUILayout.Label("External IP/port: " + Network.player.externalIP + "/" + Network.player.externalPort);