PersistentUndoRedoState.cs 374 B

123456789101112131415
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Asset_Cleaner {
  4. [Serializable]
  5. class PersistentUndoRedoState {
  6. public List<SelectionEntry> History = new List<SelectionEntry>();
  7. public int Id;
  8. public void Deconstruct(out List<SelectionEntry> list, out int id) {
  9. id = Id;
  10. list = History;
  11. }
  12. }
  13. }