Helloo guys, well I am currently working on an attack system for my game but I want to make it as simple as posible (keep things simple is very important for me) I have a couple of ideas like adding a detection range for attacks, if the enemy comes and play its attack animation close to my character, my health will go down (same thing with enemies) other way would be to give colliders to the swords of my characters and detect when they hit each other but I think that would be harder to code.
I just want to ask for other ideas or ways to implement this?