PlayerConnection.RegisterDisconnection
public void RegisterDisconnection(UnityAction<int> callback);
Parameters
| callback | The Action that is called when a Player disconnects from the Editor. |
Description 描述
Registers a callback to be called when Editor disconnects.