EditorConnection.RegisterDisconnection

public void RegisterDisconnection(UnityAction<int> callback);

Parameters

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

Description 描述

Registers a callback on a Player when that Player disconnects.