ISelection.cs 356 B

123456789101112131415
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public interface ISelection : IEnumerable<int>
  5. {
  6. int Count { get; }
  7. int single { get; }
  8. int any { get; }
  9. void Clear();
  10. void BeginSelection();
  11. void EndSelection(bool select);
  12. void Select(int index, bool select);
  13. bool IsSelected(int index);
  14. }