RegisterConnection(UnityAction<int>)
Registers a callback, executed when a new Player connects to the Editor.
읽는 시간 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.