Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.
struct in UnityEngine
Gracias por ayudarnos a mejorar la calidad de la documentación de Unity. A pesar de que no podemos aceptar todas las sugerencias, leemos cada cambio propuesto por nuestros usuarios y actualizaremos los que sean aplicables.
CerrarPor alguna razón su cambio sugerido no pudo ser enviado. Por favor <a>intente nuevamente</a> en unos minutos. Gracias por tomarse un tiempo para ayudarnos a mejorar la calidad de la documentación de Unity.
CerrarThe NetworkPlayer is a data structure with which you can locate another player over the network.
With this you can, for example, send a message directly to another player.
externalIP | Returns the external IP address of the network interface. |
externalPort | Returns the external port of the network interface. |
guid | The GUID for this player, used when connecting with NAT punchthrough. |
ipAddress | The IP address of this player. |
port | The port of this player. |
ToString | Returns the index number for this network player. |
operator != | Returns true if two NetworkPlayers are not the same player. |
operator == | Returns true if two NetworkPlayers are the same player. |