Documentation

Unity Engine

Unity Engine

RegisterDisconnection(UnityAction<int>)

Registers a callback on a Player when that Player disconnects.
Read time 1 minuteLast updated a month ago

Definition

public void RegisterDisconnection(UnityAction<int> callback)

Parameters

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