Unity 2D - Creating a Character GameObject that can switch weapons

This is for a 2D game.

I am creating a character that will be able to switch both armors and weapons. For it I have 2 separated spritesheets, one for the different kind of armors, and one for the different kind of weapons, so I can make all the combinations I want.

Unfortunately, seems like I can not add 2 Animator Components to the same GameObject. Therefore I have created the following GameObject structure.

Character
    +--> Armor
    +--> Weapon
    +--> Hurtbox
    +--> Hitbox

The downside is that this complicates the communication between the different sub-gameObjects of the character.

I was wondering if anyone think this is a good solution or there are better ways to handle this.

Thanks.

So have the character as the parent Object, and just have everything else as children, you should be able to change the sprite sorting orders accordingly, though you will need renderers/animators for each object accordingly.

But you’re on the right track in my opinion!