ive done a little reading and think the best way to make a dropdown list with the items from a list i have would be to use a popupfield.
i have a toolbar in this menu its a visual node graphing menu with the toolbar at the top with buttons on it which i want the dropdown list to appear on to select from a list of gameobjects.
toolbar here is a UnityEditor.UIElements.Toolbar()) that im drawing at the end of the method with
rootVisualElement.Add(toolbar);
ive tried using toolbar.Add(new PopupField(SpeakerList.ToString())); and nothing appears ive ran into a brick wall in lack of documentation i can find and dont know where to look.
any help would be appreciated as im very new to working with graphview.