how to give title for group of variables?

i have group of var

public float upDateSpeed=1;
public float upDatePower=1;

public float MaxSpeed=30;
public float MaxSteering=6;

i want the title show in unity scrip on the editor gui (in the inspector)
can i do it?

I’m afraid that you’ll have to create a custom inspector:

You will need to draw the text with

and then use


or other appropriate fields (IntField, TextureField etcetera) to draw all your variables
in the places you want them to be displayed. just follow the explanation in the documentation, or let it go and don’t do it because if this is all you want to do an editor script may actually be a little overkill.