I would not recommend the approach that the bot is suggesting, Is a lot more cumbersome to use and is missing a lot of the animator features. For anyone coming for help in this in the future my recommendations on what to do from easy to hard would be:
- Check If there is now an Implementation of the SkeletonGraphicMecanim
- Check if it's possible and feasible to move those elements off the UI (so you can use the standard SkeletonMecanim)
- Maybe the implementation that you need is enough specific and easy that you can skip Animator altogether?
- The harder but more flexible way to do it is to look at the SkeletonMecanim and keep implementing things you need until you are there.
I wish spine would provide some more options for playing animations instead of patching in the animator like that, for simple cases coding works great but for complex ones is a nightmare to try to do it like that and non accessible to non coding users.