wuxianshengcong/Library/PackageCache/com.unity.2d.common@8.0.3/Path/Editor/Selection/ISelection.cs

17 lines
398 B
C#
Raw Permalink Normal View History

2025-01-02 14:49:00 +08:00
using System.Collections.Generic;
namespace UnityEditor.U2D.Common.Path
{
internal 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);
}
}