I’m trying to pilot a spine animations with an animation graph without writing code in the 3.5.2 version.
I saw that the property _animationindex of a Skeleton is animatable in an animation clip, but it doesn’t seem to play the animation.
Is there any other way to use spines with the built-in animation system without writing code ?
If not, is there any plans to integrate it in the future ?
We have no plans to integrate it in cocos creator, which currently supports the JSON and binary data formats exported from Spine, you can use spine’s official tool to export.
To clarify, I don’t want to edit spines directly in cocos. I want to trigger the animations of an already imported skeleton in an animation graph instead of having to write code for it.
I want the graphic designers to be able to integrate their animations in an existing state machine without the intervention of a dev.
Currently what is binded to the states are animation clips.
Is there a way to trigger an imported skeletal animation in those clips ?
I know I could do it by code in a StateComponent, but I want the whole process to stay in-editor for the artists to do it themselves and avoid code duplication.