- Home /
Question by
prasanthvel · Apr 18, 2018 at 05:49 AM ·
script.dropdown
Unity Drop down menu negative value assign
I'm trying to create a unity drop-down menu with caption text, it works fine on loading. If any index selected the value of dropdown is changed after closing that, the caption text is not showing. So I decide to change the value of dropdown event it closing from the script. while I'm trying to change the value to -1, it not working, is there any idea to reset the DDM to show the caption text
Comment
Answer by RufflesT · Oct 12, 2021 at 08:52 PM
A late answer, but you can extend the TMP_Dropdown class into a new class and remove the Mathf.Clamp() in the SetValue function.