[System.Serializable]
public class Column
{
public string Name;
public List<object> Attribute;
}
I cant see
Attribute
in inspector.
And if use
public List<object> Attribute= new List<object>();
All values will be lost.
And if not used I'm receive an Null error.
You'd need to make object
serializable, but I suggest you create a serializable struct/class and use that one for the List like List<YourSerializableObject>
.
In addition to that, you may want to look into PropertyDrawer
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.