Пример #1
0
    public void SetPaws(bool up)
    {
        var suitInfo = Suits.Get(_suitType);
        var parts    = anim.PlayerParts;

        if (null == suitInfo)
        {
            parts.Paws.sprite = Paws.Get(up ? PawsType.Up : PawsType.Down);
        }
        else
        {
            parts.Paws.sprite = up ? suitInfo.PawsUp : suitInfo.PawsDown;
        }
    }