using System; using System.Collections.Generic; namespace Asset_Cleaner { [Serializable] class PersistentUndoRedoState { public List History = new List(); public int Id; public void Deconstruct(out List list, out int id) { id = Id; list = History; } } }