populatetmpdropdownwithenum - eisclimber/ExPresS-XR GitHub Wiki

RuntimeUtils.PopulateTMPDropDownWithEnum(TMP_Dropdown,Type)

Method in RuntimeUtils

Summary

Populates a TMPro.TMP_Dropdown with the names of a given System.Enum .

public static void PopulateTMPDropDownWithEnum(TMP_Dropdown dropdown, Type enumType)

Parameters

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.
⚠️ **GitHub.com Fallback** ⚠️