Right now the slot manager has no names for the slots. Even though the config objects are being named in the workbench, these names are not accessible. There is no EntitySlotInfo::GetName() or something similar to uniquely identify a slot.
In this image, I would via script for example like to swap out the bench via user action. I know that I could get all slots, and then hard code to access the slot at index 1, BUT if I am adding a slot via a mod, I have no idea if other mods might have added their slots before me, so my index I put in my scripts might be completely wrong. This is why unique names to identify them should be used.
So I propose to add:
- EntitySlotInfo::GetName()
- SlotManagerComponent::GetByName()