[Ask CC 3.8] AnimationClip change old size when changed Frame
Cocos
NOVEMBER 29, 2023
My code works, but I’m having problems, even though I updated its size to 48x48 (the images for animation are 96x96). height = 48; let animation = node.addComponent(Animation); let clip = AnimationClip.createWithSpriteFrames(arr, 60); clip.wrapMode = loop ? However, when I start animationClip, its size returns to 96x96.
Let's personalize your content