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.