Version: 2017.1

EditorConnection.RegisterDisconnection

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

Parameters

callback The Action that is called when the Player with the given Player ID disconnects.

Description

Registers a callback on a Player when that Player disconnects.