private void HandleDropDownItemClicked(ControllableDropDownItemBehaviour item) { PropertyInfo.SetValue(PropertyResolutionObject, Enum.Parse(PropertyInfo.PropertyType, (string)item.Model), null); CurrentlySelectedItemReadout.text = (string)item.Model; HideDropDown(); }
private void HandleDropDownItemClicked(ControllableDropDownItemBehaviour item) { PropertyInfo.SetValue(PropertyResolutionObject, item.Model, null); CurrentProvider = item.Model as IBoundsProvider; HideDropDown(); }