public void RegisterConnection (UnityAction<int> callback);

Parámetros

callbackAction called when a new Player connects, with the Player ID of the Player.

Descripción

Registers a callback, executed when a new Player connects to the Editor.