I destroy the object by writing the following script. What method should I use to reload?
Animation calls are made using the animation taster tool script of the Spine runtime.
After the animation occurred, the object was deleted as shown in the script below.
After that, I thought it would reload if I setempty in the animation, but it doesn't work.
How do I put an object in the spine back to setempty state? Let's find it with a script search on Google. Any hints on writing the code?
public class SpineAnimationEndDestory : MonoBehaviour
// Start is called before the first frame update
var skeletonAnimation = GetComponentInChildren<SkeletonAnimation>(true);
skeletonAnimation.AnimationState.Complete += (e) =>
// Update is called once per frame