# PlayerConnectionGUI

> This class contains methods to draw IMGUI Editor UI that relates to the Player Connection.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Networking.PlayerConnection](/engine/6000.3/script-reference/unityeditor/networking/playerconnection.md)
* **Assembly:** UnityEditor

```csharp
public static class PlayerConnectionGUI
```

## Remarks

Use the methods in this class to manually position UI elements. To automatically layout UI, use the corresponding methods in [PlayerConnectionGUILayout](/engine/6000.3/script-reference/unityeditor/networking/playerconnection/playerconnectionguilayout.md).

## Static Methods

| Method                                                                                                                                                                | Description                                                                                        |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| [ConnectionTargetSelectionDropdown](/engine/6000.3/script-reference/unityeditor/networking/playerconnection/playerconnectiongui/connectiontargetselectiondropdown.md) | Display a drop-down button and menu for the user to choose and establish a connection to a Player. |
