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