I have created a script component which contains a number of integers which would more conveniently be entered & displayed in the Inspector as hexadecimal, rather than decimal - but I can’t find a way to do this (seems like it should be an attribute?).
I can do the conversion in my head, but this is not quite so convenient!
Am I missing something & there is a way to do this (I have done a lot of searching & nothing has shown up)?
Or just use a string field if you don’t mind that the conversion may fail for invalid user entries and requires extra handling code for invalid entries. Convert to and from hex strings is simple.
Really I’m not sure if there’d be much call for it. I used hex a lot back in the old days when I was memory mapping my dad’s Apple IIe, but now I’m curious what you’d need hex formatting for in this day in age. Surely you’d want to abstract that away if at all possible.