docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICustomColorFieldPicker

    Interface for custom ColorField pickers.

    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public interface ICustomColorFieldPicker

    Methods

    Show(ColorField, Action<Color>, Color, bool, bool)

    Delegate method to show the custom ColorPicker.

    Declaration
    void Show(ColorField owner, Action<Color> onValueChanging, Color initialColor, bool showAlpha, bool hdr)
    Parameters
    Type Name Description
    ColorField owner

    The owner ColorField.

    Action<Color> onValueChanging

    Callback when the color value has changed. It will send a value changing event.

    Color initialColor

    The initial color to show in the ColorPicker.

    bool showAlpha

    Whether to show the alpha channel in the ColorPicker.

    bool hdr

    Whether to show HDR colors in the ColorPicker.

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