Unity has a Sprite swap tool that allows to rig a 2d character and swap individual sprites to create variety. (for example, changing the weapon of a character in real time)
That should be a nice feature, currently is easy to have skins, because we just need to change the atlas texture, but making clothes changes for custom characters seems more complex, each mesh target a whole atlas textures Any portrait doesn't have something like "Sprite Mode: Multiple"....I only guess this could do something very similar.
Maybe this could be a strange experiment, maybe instead of target an atlas texture we just target an image like example hair blonde, then another image for brown hair. so the current mesh just need to switch the image texture, I don't know if Unity could create again the Atlas texture...
That should be a nice feature, currently is easy to have skins, because we just need to change the atlas texture, but making clothes changes for custom characters seems more complex, each mesh target a whole atlas textures Any portrait doesn't have something like "Sprite Mode: Multiple"....I only guess this could do something very similar.
Maybe this could be a strange experiment, maybe instead of target an atlas texture we just target an image like example hair blonde, then another image for brown hair. so the current mesh just need to switch the image texture, I don't know if Unity could create again the Atlas texture...
Hello, Michael Aganier.
There are several ways to replace the image of a mesh in AnyPortrait.
You can write scripts to swap images in real time during the game, or use "Extra Option" to swap images on meshes during animation.
You can see how to change a character's image or equipped weapon using a script or "Socket" on the page below.
https://rainyrizzle.github.io/en/AdvancedManual/AD_CharacterCostume.html
Also, instructions on how to swap images during animation can be found on the "Extra Options" page.
https://rainyrizzle.github.io/en/AdvancedManual/AD_ExtraOption.html
To implement "replace image" in AnyPortrait, you need to prepare images with the same Atlas structure.
However, this is a function not yet provided by AnyPortrait, so you must create and prepare using an external tool.
If you have more questions or need, feel free to leave a post!
Thank you.