Table of Contents

ConnectAsHost

Methods
public void ConnectAsHost(EndpointData endpoint, ConnectionSettings connectionSettings = null)

Attempts to connect as a host-client.

Parameters
Type Name Description
EndpointData endpoint

The address of the replication server to connect to.

ConnectionSettings connectionSettings

The settings to be used for this connection. If null, Default will be used.

Remarks

Connected client will become a host of the room (see IsSimulatorOrHost).