Skip to main content

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 buttonWhat it does
SocketsThe sockets of the selected prefabs.
LinksThe links of the selected prefabs. A link between two selected prefabs is counted once.
ActiveThe socket picked in the scene view, its type, and whether it is linked or free. "None" when no socket is picked.
Move IndividuallyMove prefabs without their connected prefabs. Their links break when they move.
DisconnectBreaks the active socket's link, or every link of the selected prefabs when the active socket is free.
SpinTurns the active socket's side of its link by one roll step. Only when the active socket is linked.
Select ConnectedSelects every prefab joined to the selection through socket links.
Edit Sockets / Stop EditingOpens 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.

warning

The socket editor has no undo. Use Save and Revert.

Field or buttonWhat it does
NameThe socket's name. Links find their socket by name.
TypeSockets connect when their types allow it. The default type connects to everything.
PositionPosition in the prefab's space.
RotationRotation in the prefab's space. The socket's forward axis points out of the prefab.
Roll StepAbove 0, the socket can join at every multiple of this many degrees around its forward axis.
Add SocketAdds a socket in the middle of the prefab.
Delete SocketDeletes the active socket and its links.
SaveWrites this prefab's sockets to its socket file.
RevertReads this prefab's sockets from the socket files again. Its unsaved socket changes are lost. Other prefabs keep theirs.

Troubleshooting​

ProblemWhat 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.