PO/Library/PackageCache/com.unity.2d.path@4.0.2/Editor/Selection/ISelection.cs

17 lines
389 B
C#
Raw Normal View History

2022-01-12 10:06:03 +03:00
using System.Collections.Generic;
namespace UnityEditor.U2D.Path
{
public interface ISelection<T>
{
int Count { get; }
T activeElement { get; set; }
T[] elements { get; set; }
void Clear();
void BeginSelection();
void EndSelection(bool select);
bool Select(T element, bool select);
bool Contains(T element);
}
}