Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RegisterConnection(UnityAction<int>)

Registers a callback, executed when a new Player connects to the Editor.
Read time 1 minuteLast updated 12 days ago

Definition

public void RegisterConnection(UnityAction<int> callback)

Parameters

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