question on custom inspector/editor... my google-fu is failing me

I have been trying to find a clear answer to this question but I think I am not googling the right terms. So I am hoping a screenshot and explanation will help and someone can point me to the knowledge I need. I know this is in the area of custom inspectors/custom editors but that’s about all I can come up with and I am hoping there is a straighforward explanation of “here’s how to do this” rather than “here’s everything to know about custom editor scripts” because I don’t need to know everything just yet. :slight_smile:

I have a script like:

 [Header("Walking Speed")]
    public float walkSpeed;
[Header("Running Speed")]
    public float runSpeed;

Which looks like this in the Inspector:

which is alright but I would love to make it look like this, without changing the name of my variables. (Below is just a mockup I made)

This of course only being an example… in some cases the public variable might be called “maxDmgRad” and I would like the field to say “Default Maximum Damage Radius” or something like that.

Is there a simple way to do this that I am overlooking?

Well, yes and no. It is not possible by default.
You have two choices; you implement it yourself or you invest in Odin inspector which has the capability you’re looking for (and it’s awesome BTW).

1 Like

Thanks. I’ll look into that.