Graphics, Programming, Unity, Tutorial, Technology.
Pass that as the second argument to EnumPopup — the current value. EnumPopup returns the value displayed in the popup— either what was passed or a new value the user selects. Either way, cast it back to a float and reset the value in MaterialProperty. Surround the EnumPopup call with Begin- and