Inspector script separation

Hello, I need to know, how can I create a seperation of variables in inspector to looks like this:

  • Health
  • Energy
  • Mana
  • -----Skills-----
  • One handed
  • Two Handed

How can I write “—Skills—” or somethink like this department?

Currently the best way is to create a class,

var energyAttributes : Energy;
var skillsAttributes : Skills;

class Energy {
    var health : int;
    var energy : int;
    var mana : int;

class Skills {
    var oneHanded : int;
    var twoHanded : int;

Then you’ll reach the variables by, for instance, typing