using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class random : MonoBehaviour
{
    public static string DogsImg;


    void Update()
    {
        DogsImg = breed.answer;
        Image image = GetComponent<Image>();
        Sprite newSprite = null;

        //Выбор картинки отображения
        switch (DogsImg)
        {
            case "Абби (0)":
                newSprite = Resources.Load("dog (0)");
                break;
            case "Азавак (1)":
                newSprite = Resources.Load("dog (1)");
                break;
            case "Бастер (2)":
                newSprite = Resources.Load("dog (2)");
                break;
            case "Белорусская овчарка (3)":
                newSprite = Resources.Load("dog (3)");
                break;
            case "Бигль (4)":
                newSprite = Resources.Load("dog (4)");
                break;
            case "Бладхаунд (5)":
                newSprite = Resources.Load("dog (5)");
                break;
            case "Бультерьер (6)":
                newSprite = Resources.Load("dog (6)");
                break;
            case "Винни (7)":
                newSprite = Resources.Load("dog (7)");
                break;
            case "Восточно-сибирская лайка (8)":
                newSprite = Resources.Load("dog (8)");
                break;
            case "Гриндель (9)":
                newSprite = Resources.Load("dog (9)");
                break;
            case "Далматин (10)":
                newSprite = Resources.Load("dog (10)");
                break;
            case "Дворняга (11)":
                newSprite = Resources.Load("dog (11)");
                break;
            case "Джек-Рассел терьер (12)":
                newSprite = Resources.Load("dog (12)");
                break;
            case "Западно-сибирская лайка (13)":
                newSprite = Resources.Load("dog (13)");
                break;
            case "Золотой Ретривер (14)":
                newSprite = Resources.Load("dog (14)");
                break;
            case "Керри-блю-терьер (15)":
                newSprite = Resources.Load("dog (15)");
                break;
            case "Колли (16)":
                newSprite = Resources.Load("dog (16)");
                break;
            case "Комондор (17)":
                newSprite = Resources.Load("dog (17)");
                break;
            case "Корги (18)":
                newSprite = Resources.Load("dog (18)");
                break;
            case "Корейский шпиц (19)":
                newSprite = Resources.Load("dog (19)");
                break;
            case "Лхаса апсо (20)":
                newSprite = Resources.Load("dog (20)");
                break;
            case "Неаполитанский мастиф (21)":
                newSprite = Resources.Load("dog (21)");
                break;
            case "Немецкая овчарка (22)":
                newSprite = Resources.Load("dog (22)");
                break;
            case "Овчарка (23)":
                newSprite = Resources.Load("dog (23)");
                break;
            case "Парсон-рассел-терьер (24)":
                newSprite = Resources.Load("dog (24)");
                break;
            case "Пти-брабансон (25)":
                newSprite = Resources.Load("dog (25)");
                break;
            case "Русская гончая (26)":
                newSprite = Resources.Load("dog (26)");
                break;
            case "Русская пегая гончая (27)":
                newSprite = Resources.Load("dog (27)");
                break;
            case "Русская псовая борзая (28)":
                newSprite = Resources.Load("dog (28)");
                break;
            case "Русский черный терьер (29)":
                newSprite = Resources.Load("dog (29)");
                break;
            case "Русско-европейская лайка (30)":
                newSprite = Resources.Load("dog (30)");
                break;
            case "Сахалинский хаски (31)":
                newSprite = Resources.Load("dog (31)");
                break;
            case "Сиба-ину (32)":
                newSprite = Resources.Load("dog (32)");
                break;
            case "Сибирский хаски (33)":
                newSprite = Resources.Load("dog (33)");
                break;
            case "Чау-чау (34)":
                newSprite = Resources.Load("dog (34)");
                break;
            case "Шелти (35)":
                newSprite = Resources.Load("dog (35)");
                break;
            case "Японский хин (36)":
                newSprite = Resources.Load("dog (36)");
                break;
            case "Японский шпиц (37)":
                newSprite = Resources.Load("dog (37)");
        }
        image.sprite = newSprite;
    }
}
Где ошибка?