HDR Color picker

NodeCanvas Forums Custom Nodes & Tasks HDR Color picker

This topic contains 1 reply, has 2 voices, and was last updated by  Gavalakis 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15088

    jirdus
    Participant

    Is it possible to set the BBParameter<Color> field in custom ActionTask so that the HDR color picker is displayed, similar to what can be done using the ColorUsage attribute for the Color field?

    // Works in custom Unity editor, doesn’t work in NodeCanvas editor
    [ColorUsage(showAlpha: false, hdr: true)]
    public Color targetColor;

    // Doesn’t work 🙁
    [ColorUsage(showAlpha: false, hdr: true)]
    public BBParameter<Color> targetColor;

    #15095

    Gavalakis
    Keymaster

    Hello and sorry for the late reply.

    I have just modified the code so that the [ColorUsage] attribute works the same way in NodeCanvas color inspectors.

    I can send you the changed files if you want. Should I do so in your registered email address? Alternatively you can also PM me in discord if you want.

    Let me know your preference 🙂

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.