PlayerConnection.RegisterConnection
public void RegisterConnection(UnityAction<int> callback);
Parameters
| callback | The action that is called when the Player connects to the Editor, with the Player ID of the Editor. |
Description 描述
Registers a callback that is invoked when the Editor connects to the Player.