Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

ConnectionTarget

enumeration

Description

The type of the connected target.

This is used in IConnectionState, for example, to signify whether the Editor is connected to a Player or to an Editor. A connection to an Editor also picks up the PlayMode Player. When an Editor is not connected to a Player, it will always fall back onto a connection to itself. ConnectionTarget.None would therefore only be applicable in a Player.

Properties

NoneNo target is connected, this is only possible in a Player.
PlayerThe connected target is a Player.
EditorThe connected target is an Editor.

Did you find this page useful? Please give it a rating: