Version: 2018.2
public static Networking.NetworkEventType ReceiveRelayEventFromHost (int hostId, out byte error);

パラメーター

hostIdThe host ID to check for events.
errorError (can be cast to NetworkError for more information).

戻り値

NetworkEventType Type of event returned.

説明

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