Sockets
The Sockets panel shows the sockets and links of the selected prefabs, and opens the socket editor. It shows when a selected prefab has sockets, and while the socket editor is open. It is always the last panel in the Inspector.
To give a prefab without sockets its first sockets, click Add Sockets in the menu of the name row. See Sockets.
You connect sockets in the scene view, not here: drag from one free socket to another. Click a socket in the scene view to make it the active socket. Disconnect and Spin work on the active socket.
Rows and buttons
| Row or button | What it does |
|---|---|
| Sockets | The sockets of the selected prefabs. |
| Links | The links of the selected prefabs. A link between two selected prefabs is counted once. |
| Active | The socket picked in the scene view, its type, and whether it is linked or free. "None" when no socket is picked. |
| Move Individually | Move prefabs without their connected prefabs. Their links break when they move. |
| Disconnect | Breaks the active socket's link, or every link of the selected prefabs when the active socket is free. |
| Spin | Turns the active socket's side of its link by one roll step. Only when the active socket is linked. |
| Select Connected | Selects every prefab joined to the selection through socket links. |
| Edit Sockets / Stop Editing | Opens or closes the socket editor for the selected prefab. Needs exactly one selected prefab. |
Socket editor
While the socket editor is open, the panel shows the editor instead. Prefab names the prefab you edit, and File names the socket file it saves to, with "(not saved)" while there are unsaved changes. The move and rotate gizmo moves the active socket.
The socket editor has no undo. Use Save and Revert.
| Field or button | What it does |
|---|---|
| Name | The socket's name. Links find their socket by name. |
| Type | Sockets connect when their types allow it. The default type connects to everything. |
| Position | Position in the prefab's space. |
| Rotation | Rotation in the prefab's space. The socket's forward axis points out of the prefab. |
| Roll Step | Above 0, the socket can join at every multiple of this many degrees around its forward axis. |
| Add Socket | Adds a socket in the middle of the prefab. |
| Delete Socket | Deletes the active socket and its links. |
| Save | Writes this prefab's sockets to its socket file. |
| Revert | Reads this prefab's sockets from the socket files again. Its unsaved socket changes are lost. Other prefabs keep theirs. |
Troubleshooting
| Problem | What to do |
|---|---|
| The panel says "Sockets are hidden. The Sockets button on the transform widget shows them". | Sockets are hidden in the scene view, and you cannot click hidden sockets. Click the Show sockets button on the transform widget to show them. |