Search Unity

Question Best method for a cosmetics system

Discussion in '2D' started by ccurry_unity, Sep 2, 2020.

  1. ccurry_unity

    ccurry_unity

    Joined:
    Nov 2, 2017
    Posts:
    28
    Hi all,

    In my game, players can earn skins / other cosmetics for their main character. Initially I had planned to do this by creating multiple animators and swapping them in based on the equipped skin. It took me adjusting the main animator one time to realize this is a terrible idea.

    My question is: is there a standard way to handle something like this? I'm wondering if I can change the sprites in an animator through script... Here's a look at my animator, in case that's helpful. Each state has a different sprite:

    upload_2020-9-2_8-53-16.png

    Thanks in advance!