This version of Unity is unsupported.
Method group is Obsolete

NetworkManager.OnServerRemovePlayer

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public void OnServerRemovePlayer(NetworkConnection conn, PlayerController player);

Parameters

conn The connection to remove the player from.
player The player controller to remove.

Description

Called on the server when a client removes a player.

The default implementation of this function destroys the corresponding player object.