Version: 2017.3

PlayerConnection.RegisterConnection

Switch to Manual
public void RegisterConnection (UnityAction<int> callback);

Parameters

callback Action called when Player connects, with the Player ID of the Editor.

Description

Registers a callback that is invoked when the Editor connects to the Player.