array of custom class (C#)

I have a array that shows in the inspector

public List<String>Scripts = new List<String>();

but this one doesn’t

public List<Arrays>ScriptsArray = new List<Arrays>();

and this is the class Arrays

public class Arrays{
String scriptname;
public List<String>Arrayname = new List<String>();
}

how can i make the other one show as well?

demonicmetalcs

Make your class serializable:

[System.Serializable]
public class Arrays{
String scriptname;
public List<String>Arrayname = new List<String>();
}

thanks it work