// Start is called before the first frame update
    void Start()
    {
        List <string> spellNames = new List <string>();

        foreach (Spell s in wand.GetSpells())
        {
            spellNames.Add(s.name);
        }
        dropdown.ClearOptions();
        dropdown.AddOptions(spellNames);
        dropdown.interactable = false;
        dropdown.onValueChanged.AddListener(delegate {
            DropdownValueChanged(dropdown);
        });
    }