iammirrr It seems the code you attached does not contain the code you have tried. (There is no line for playing the "walkstop" animation.) I would appreciate it if you could share the actual code you have tried in the future, as it is difficult to tell what you should fix if it is not clear what you tried first.
I recommended earlier in my email to you to check Spine Examples/Getting Started/5 Basic Platformer
, have you checked it yet? The way to play transition animations is also demonstrated in it. Check the example script SkeltonAnimationHandleExample.cs
attached to the Hero
GameObject.
I assume what you want to do should be pretty close to this example scene (5 Basic Platformer
), so it would be a good idea to start by using it as is and making some modification based on what you need.