connectedToTarget
Supplies the type of the established connection, as in whether the target is a Player or an Editor.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine.Networking.PlayerConnection
- Assembly: UnityEngine.CoreModule
ConnectionTarget connectedToTarget { get; }
Remarks
ConnectionTarget.None could only be true from within a Player, because the Editor will always fall back to a connection to itself if no other target is connected.