RegisterConnection(UnityAction<int>)
Registers a callback, executed when a new Player connects to the Editor.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Networking.PlayerConnection
- Assembly: UnityEditor
public void RegisterConnection(UnityAction<int> callback)
Parameters
Action called when a new Player connects, with the Player ID of the Player.