public void AddSlot() { string[] names = new string[1]; names[0] = Path.GetFileNameWithoutExtension(saveManager.AddSaveSlot()); dropdown.AddOptions(new List <string>(names)); }