populatedropdownwithenum - eisclimber/ExPresS-XR GitHub Wiki

RuntimeUtils.PopulateDropDownWithEnum(Dropdown,Type)

Method in RuntimeUtils

Summary

Populates a UnityEngine.UI.Dropdown with the names of a given System.Enum .

public static void PopulateDropDownWithEnum(Dropdown dropdown, Type enumType)

Parameters

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