Show variable of class that dont inherit from MonoBehaviour in Inspector

Lets say I have 2 scripts, Person:

public class Person {
    public int height, weight;

    public Person(int h, int w){
        height = h; weigth = w;

and Warrior:

public class Warrior : Person {

    void Start(){
        weight = 100;
        height = 200;

    void Update(){


Given I associated the script Warrior to a GameObject, I won’t be able to see the public variables of Warrior because it do not inherit from MonoBehaviour.

My question is: how do I do to show the variables information at Inspector, with a script that do not inherit from MonoBehaviour?

Above your class that does not inherit from MonoBehaviour (Player), you should add [System.Serializable], which will make it appear.