Project Update: Player animations attack

I start again from where I stopped yesterday, after the movement animations today it’s time for the attack animation and its particle effect.

The procedure is the same as yesterday’s article, the only difference is the Sword Arc animation that being another sprite that requires inserting a new variable in the code to manage it and work on the timing of the animations because they work well together.

Very important, you have to pay attention to the instruction “GetComponentChild” that considers only the first element it finds, for this reason just add this instruction before to easily solve the problem.