populatetmpdropdownwithenum - eisclimber/ExPresS-XR GitHub Wiki
Method in RuntimeUtils
Populates a TMPro.TMP_Dropdown with the names of a given System.Enum .
public static void PopulateTMPDropDownWithEnum(TMP_Dropdown dropdown, Type enumType)| Name | Description |
|---|---|
TMPro.TMP_Dropdown dropdown |
The Dropdown to be populated. |
System.Type enumType |
The Type of the Enum the Dropdown should be populated with. |