I have an actor component (SocketManager) which manages attaching and detaching actor components from each other by socket names. So component Targets socket *TargetSocket *is attached to component *Parents *socket ParentSocket.
I thought I would make an array in the SocketManager where I can add Target, TargetSocket, Parent, ParentSocket like in the image below. Unfortunately I cannot add a component reference to Target or Parent (the dropdown menu is always empty). So I have to do it by code in the construction script, but with much sockets this is really not clear (see image 2).
Does anyone know a more elegant way to do this? Where I manually can add Target, TargetSocket, Parent, ParentSocket to an array?