RegisterDisconnection(UnityAction<int>)
Registers a callback on a Player when that Player disconnects.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Networking.PlayerConnection
- Assembly: UnityEditor
public void RegisterDisconnection(UnityAction<int> callback)
Parameters
The Action that is called when the Player with the given Player ID disconnects.