Play and resume animation inside script
Cocos
MAY 17, 2024
I have created a Prefab containing a baked skeletal animation and a typescript. No matter how I try to use play() inside the script, the animation will not run. After some effort, I have observed something: The animation can only play if I check the Play on load in the editor.
Let's personalize your content