ISelection.cs 422 B

12345678910111213141516
  1. using System.Collections.Generic;
  2. namespace UnityEditor.Experimental.Rendering.Universal.Path2D
  3. {
  4. internal interface ISelection<T>
  5. {
  6. int Count { get; }
  7. T activeElement { get; set; }
  8. T[] elements { get; set; }
  9. void Clear();
  10. void BeginSelection();
  11. void EndSelection(bool select);
  12. bool Select(T element, bool select);
  13. bool Contains(T element);
  14. }
  15. }