i was reading another topics but only seen solutions in gdscript, so how do i determine exactly which animation is emitted animation_finished signal in AnimatedSprite2D using c#? the signal is void, its not passing anything.
ive seen on gdscript you should pass animation from animation_finished to your custom signal , but where do i get it? can i see code example?
Ive also just been using AnimatedSprite2D (not animationPlayer) and my signal does not pass any animation name at all. What i do is just put an if $Sprite.animation == “” within the signal created when connecting