Hello,
I'm trying to create left/right hand equipment slots that behave similarly to games like Elden Ring where you can use the left and right d-pad buttons to change items in your right or left hand.
In the screenshot below, I have 2 item slots for the left hand and 2 item slots for the right hand (labeled R1, R2, L1, and L2). Currently, the shield in L1 and the knife in R1 are active.
Lets say I have 2 new item abilities called "Equip next right hand item" and "Equip next left hand item".
In this situation, if the user activates the "Equip next right hand item" item ability, then the shield would remain active but the knife would become soft equipped and the sword in R2 would become active.
If the user activates the "Equip next left hand item" item ability, then the item set would change so that the shield is no longer active but the knife still is.

Here is the list of item sets, everything is working as expected and I can get to each item set by using the "Equip Unequip" item ability. The problem is that I need to be able to specify which item set will be active based on which left/right item slots are currently active.
So from the example above, if L1 and R1 item slots are active, and the user activates the "Equip next right hand item" item ability, then the active slots should change to L1 and R2 which would also select a specific item set that is mapped for those two slots (in this example it would change to item set 5).

Is there built in functionality that supports this or would this require custom components/scripts?
I'm still fairly new to unity so any advice would be greatly appreciated!
Thank you.
I'm trying to create left/right hand equipment slots that behave similarly to games like Elden Ring where you can use the left and right d-pad buttons to change items in your right or left hand.
In the screenshot below, I have 2 item slots for the left hand and 2 item slots for the right hand (labeled R1, R2, L1, and L2). Currently, the shield in L1 and the knife in R1 are active.
Lets say I have 2 new item abilities called "Equip next right hand item" and "Equip next left hand item".
In this situation, if the user activates the "Equip next right hand item" item ability, then the shield would remain active but the knife would become soft equipped and the sword in R2 would become active.
If the user activates the "Equip next left hand item" item ability, then the item set would change so that the shield is no longer active but the knife still is.

Here is the list of item sets, everything is working as expected and I can get to each item set by using the "Equip Unequip" item ability. The problem is that I need to be able to specify which item set will be active based on which left/right item slots are currently active.
So from the example above, if L1 and R1 item slots are active, and the user activates the "Equip next right hand item" item ability, then the active slots should change to L1 and R2 which would also select a specific item set that is mapped for those two slots (in this example it would change to item set 5).

Is there built in functionality that supports this or would this require custom components/scripts?
I'm still fairly new to unity so any advice would be greatly appreciated!
Thank you.