Method SetValueToPreset
SetValueToPreset(SerializedProperty, LightUnitSliderUIRange)
The serialized property for color temperature is stored in the build-in light editor, and we need to use this object to apply the update.
Declaration
protected virtual void SetValueToPreset(SerializedProperty value, LightUnitSliderUIRange preset)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | value | The value to update |
LightUnitSliderUIRange | preset | The preset range |