docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)