RegisterDisconnection(UnityAction<int>)
Registers a callback on a Player when that Player disconnects.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Networking.PlayerConnection
- Assembly: UnityEditor.CoreModule
public void RegisterDisconnection(UnityAction<int> callback)
Parameters
The Action that is called when the Player with the given Player ID disconnects.