Experimental: this API is experimental and might be changed or removed in the future.

IConnectionState.connectedToTarget

매뉴얼로 전환

설명

Supplies the type of the established connection, as in whether the target is a Player or an Editor.

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.