Macha

  • 10 avr.
  • Inscrit 9 avr.

    Macha Welcome to the Spine forum!

    First, it's important to understand the specifications of the Spine's Skins feature. You can refer to the Skins documentation while exploring our example projects to get a clearer idea. The following are examples of skeletons using skins:
    https://esotericsoftware.com/spine-examples-mix-and-match
    https://esotericsoftware.com/spine-examples-chibi-stickers

    The mix-and-match example is the most important for understanding how to achieve your goals. The project contains many separate skins, each representing an individual item like pants or a bag, to facilitate the creation of custom avatars at runtime. It also demonstrates the very powerful features of Spine's Skins, namely Skin Bones and Skin Constraints. This allows you to create a rig where a hair mesh and hair bones are active only when you want to set the hair skin.

    You should also examine linked meshes. Mix-and-match uses this feature extensively, so check it out while reading the following section of the user guide:
    https://esotericsoftware.com/spine-meshes#Linked-meshes

    In general, using skins is a good way to create a lot of skeletons with different appearances, as it is easier to check the final appearance of the skeleton in the editor, but there are times when you want to pass a sprite or replace it with another image in Unity. For this, please first read the following sections of the guide, which is common to all runtimes, and the following sections of the spine-unity documentation:
    https://esotericsoftware.com/spine-runtime-skins#Creating-attachments
    https://esotericsoftware.com/spine-unity-main-components#Combining-Skins

    The following two example scenes, which are also mentioned in the spine-unity documentation, should definitely be checked: Spine Examples/Other Examples/Mix and Match and Spine Examples/Other Examples/Mix and Match Equip.
    The following video briefly introduces these scenes from 18:21 to 18:57:

    If you have any questions after reviewing these examples and documents, please don't hesitate to ask!