Thank you for the reply. Yes, the logic should be as you mentioned above. Also we use same sized images for eyes, mouths etc. In cocos creator, we implement a component for spine and call it at runtime like this.
var spine = node.getComponent(sp.Skeleton);
// Change the attachment
spine.setAttachment("eye", "eye_surprised"); // slot, attachment
I am a beginner in spine and cocos so I need to clarify this. Do I need to combine images to produce an atlas in order to change images? Do I always need to use an atlas to change images for spine? Is there any ways, I could just change the images like its sprite at the attachment level? Even not in javascript, can it be done in C# or something? Thank you!