I’m trying to create a custom type in my project to be used by Visual Scripting.
I just need a HDR Color picker as VS only provide the basic color picker without HDR and I don’t know how to do it properly.
using UnityEngine;
using UnityEditor;
using Unity.VisualScripting;
[Inspectable]
[System.Serializable]
public class ColorHDR
{
[Inspectable]
[ColorUsageAttribute(true, true)]
public Color HDRColor;
}
But it looks like it is ignored by VS, I still get the normal color picker without HDR
I’m probably missing something but i’m at loss here, any help would be welcome !
Thanks for the answer !
By creating a Custom Inspector, you mean doing it through more classic scripting, not visual scripting right ?
Do you have a specific community addon in mind ? Not sure where to start looking just like that.
No problem !
Ok, I could look into making a C# script if it’s absolutely necessary. I try to keep everything working with UVS on my project.
For the addon, sadly I’m working with a 1.9 version of UVS. But I see you’re one of the maintainers on the addon, do you know if there’ll be an update supporting above 1.8 in the future ?