Version: 5.5

NetworkTransport.ReceiveRelayEventFromHost

Cambiar al Manual
public static Networking.NetworkEventType ReceiveRelayEventFromHost (int hostId, out byte error);

Parámetros

hostId The hostId to check for events.
error Error (can be casted to NetworkError for more information).

Valor de retorno

NetworkEventType Type of event returned.

Descripción

Polls the host for the following events: NetworkEventType.ConnectEvent and NetworkEventType.DisconnectEvent. Can only be called by the relay group owner.