PlayerConnection.RegisterDisconnection

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

Parameters

callbackThe Action that is called when a Player disconnects from the Editor.

Description

Registers a callback to be called when Editor disconnects.