Version: 2018.1
public void RegisterConnection (UnityAction<int> callback);

Parameters

callbackAction 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.