Hi guys, i'm still learning about ui. i'm trying to make a dropdown where the option will be added when you click the dropdown. i'm trying to use Dropdown.OnpointerClick but i still don't know how to use it. here is the sample code that i'm trying to try: Code (CSharp): public Dropdown dropdown1; public List<string> names; dropdown1.OnPointerClick(); //i want to use dropdown1.AddOptions(roles) here, but i dont know how to use this
This is a uGUI question (different API than UIElements). Moving thread to: https://forum.unity.com/forums/unity-ui-ugui-textmesh-pro.60/