error implementing state manager system with Enums

good to all, I hope I explain myself well, what happens is that I am trying to make a souls style game, I wanted to change the state system that was with boolean variables to a more effective and clean way, so I decided to implement the state manager system with Enums, all this seeing it from a tutorial, however, when I tried it nothing worked, neither the attacks, nor the dodging, nothing.

Could someone help me to know what is going on? if you want you can take a look at the project if you need to understand better everything.

Thanks for you time