Hi,
i'm using the spine-webgl API and was wondering if there is a better way to stop my custome SpineConfigApp to stop updating aka pause.
My current methode just has a boolean in the update function that skips the whole update part if set to true. but it renders still like every frame which shouldnt be needed ig after the first update of the frame
the second part is something i want to implement but not quiet sure yet where i get the values from the whole spineCanvas object
I have a input:slider in the ui
i want to set the max-Value of the slider to the current Animation max frames after the animation or the model changed
but i dont know which value is the right one that give me like the total frame count
so i can "slide" througe the whole animation
i got a bad version of that working
an if statement can inverted the delta value in the update function and i only updated one frame per click
with that i was able to get througt the animation or go backwards
but imo thats really bad code and slow
is there like a better or intended way of doing something like this?