文档

Unity Engine

Unity Engine

RegisterConnection(UnityAction<int>)

Registers a callback, executed when a new Player connects to the Editor.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void RegisterConnection(UnityAction<int> callback)

Parameters

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