Are hitboxes a valid approach for melee hit detection? I'm making a 2d game in unity and I plan to have melee attacks in my game.My current approach is to use colliders for hitboxes and enable/move them with mecanim.Problem is,I wish to have various types AOE attacks with different range.In that case I'd have to make multiple hitboxes which isn't a very elegant solution.Should I stick to hitboxes or is there a better method to do this?

Also,if I do stick with hitboxes,should I disable/enable the colliders or the gameobjects when I attack? I'd appreciate some help.