public void addNewBook()
 {
     readInput();
     if (bookList.Count != capacity)
     {
         temporal = new BookDetailed(title, author, pages, genre, year, condition, color);
         bookList.Add(temporal);
         poblateDropDown();
         statusText.text = "Libro añadido correctamente";
     }
 }
    public void poblateTexts(Dropdown dropdown)
    {
        int          index    = dropdown.value;
        BookDetailed selected = bookList[index];

        titleText.text     = selected.Title;
        authorText.text    = selected.Author;
        pagesText.text     = selected.Pages.ToString();
        genreText.text     = selected.Genre;
        yearText.text      = selected.Year.ToString();
        conditionText.text = selected.Condition;
        colorText.text     = selected.Color;
    }