EditorConnection.RegisterConnection
public void RegisterConnection(UnityAction<int> callback);
Parameters
| callback | Action called when a new Player connects, with the Player ID of the Player. |
Description 描述
Registers a callback, executed when a new Player connects to the Editor.