mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
Merge branch 'master' into tunnel
This commit is contained in:
commit
997f49e101
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ namespace HeavenStudio.Editor
|
|||
dropdown.value = selected;
|
||||
|
||||
dropdown.onValueChanged.AddListener(_ =>
|
||||
parameterManager.entity[propertyName] = Enum.ToObject(enumType, dropdown.value)
|
||||
parameterManager.entity[propertyName] = (int) enumVals.GetValue(dropdown.value)
|
||||
);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue