# PlayerConnectionGUILayout

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

## Definition

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

```csharp
public static class PlayerConnectionGUILayout
```

## Remarks

Use the methods in this class to automatically lay out UI elements. For manual positioning, use the corresponding methods in [PlayerConnectionGUI](/engine/6000.7/script-reference/unityeditor/networking/playerconnection/playerconnectiongui.md).

## Static Methods

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