public void RegisterConnection (UnityAction<int> callback);

Parameters

callbackThe action that is called when the Player connects to the Editor, with the Player ID of the Editor.

Description

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