I'm creating a scriptable object to store the color scheme for each level in my Brick Breaker game. There are a lot of options for how to input colors, but the way that TextMesh Pro does it for their Color Gradients is a great starting point. In their scriptable object (TMP > Scripts > Runtime > TMP_ColorGradient.cs), each row is a set of two colors, where each color can either be input using the color selector or by pasting in the hexidecimal value. When one of the fields is updated, the other field is updated automatically.
Sadly, the script file doesn't seem to contain the logic to recreate these input fields. I tried simply copying the file and renaming it, but the color format returns to the default ScriptableObject / SerializedField input style for Colors, namely without the text input option.
Does anyone know how to recreate TMP's input fields?
In addition to Stack Exchange's Similar Questions step, here are all the searches I did looking for answers: Search 01 - "tmp color gradient input" unity color serializable how to connect two serializable variables in unity tmp color gradient file