- Изменено
setSkin() with empty SkinPlaceholder
Hello, I am using setSkin() to change skin in [Character-select scene].
The skins have different equipments and cloths (some may have, some may not)
If I set the character to a skin which have cape, run the game, then change skins to one with no cape, the skin will change to the no-caped one but the cape is still there (Similar happens to other SkinPlaceholder which already have attachment)
If I set the character to a skin which have no cape, then I change to a caped one at runtime, the cape will not show at all.
The attachment is remain the last attachment used for that slot (if already empty, somehow it will remain empty) and I don't know how to fix it.
Does your code miss Skeleton setSlotsToSetupPose ? Could you please post your code for changing skin?
Misaki написалDoes your code miss Skeleton setSlotsToSetupPose ? Could you please post your code for changing skin?
Yes this solved. Thank you
I'm glad to hear it solved the problem. Thank you for getting back to us!