ドキュメント

Unity Engine

Unity Engine

connectedToTarget

Supplies the type of the established connection, as in whether the target is a Player or an Editor.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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.