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