Usage Hint Dynamic Color Issue

Hi,

I set my VisualElement to Usage Hint: Dynamic Color.

7409624--906035--Screen Shot 2021-08-11 at 2.07.57 PM.png

However, when changing the color via code, it won’t change anymore. Did I misunderstand what this does?

e.style.unityBackgroundImageTintColor = Color.HSVToRGB(hsvValue, 1, 1);

Also, this documentation isn’t updated to show the latest usage hints :slight_smile:

Thanks!

You’d need to look at the 2021.2 version of the API docs:

It does sound like an issue though, let me check.

1 Like

Oh…right! Thanks. :eyes::stuck_out_tongue:

Most likely a bug. Could you submit a repro through the bug reporter and post the case # here please? Go to Help > Report a bug…

Case #: 1357470

Thanks

1 Like