I don't get idea of skins. I want to make customization system. So if i had images with same size i just need to get attachment and set new sprite to it. It is quite easy. But if i have several sprites ratios which need to be offset for proper look?
Looks like skins is used for this purpose. If i understand correctly i should create something like this.
And in runtime select needed attachment(head1 or head2)
In runtime when i create new skin and change image in head1 attachment all works fine, but when i set attachment head2 nothing is displayed, like i need to do some "setActive(true)".
Please, help me understand the whole idea about such type of customization(when images are not same size). And i will really appreciate if someone will provide pseudo code for this task.