Graphics, Programming, Unity, Tutorial, Technology.
and set material properties appropriately, surround EnumPopup with these Begin- and EndChangeCheck functions. EndChangeCheck returns true if the user picks a new value from the dropdown. Create an UpdateSurfaceType function, taking the material as an argument. Call it inside the EndChangeCheck if