Topic: Alternative costumes

how to set up  alternative costumes for 2d gameplay ?

I tried to add  a different Prefab with the same animation  name but different sprites ,but it doesn't work,ufe load always
the same Prefab for both players.

Share

Thumbs up Thumbs down

Re: Alternative costumes

Have you tried alternative costumes in the character file?
https://i.imgur.com/Gdy0zCp.png

You could also do it with code. Make a new script and add this code to it.

    void Start()
    {
        if (UFE.config.player2Character.characterName == UFE.config.player1Character.characterName)
        {
            //Do what you need
        }
    }

Share

Thumbs up Thumbs down