Firstborn/Library/PackageCache/com.unity.timeline@1.7.1/Editor/treeview/Snapping/IAttractable.cs

22 lines
427 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
namespace UnityEditor.Timeline
{
enum AttractedEdge
{
None,
Left,
Right
}
interface IAttractable
{
bool ShouldSnapTo(ISnappable snappable);
double start { get; }
double end { get; }
}
interface IAttractionHandler
{
void OnAttractedEdge(IAttractable attractable, ManipulateEdges manipulateEdges, AttractedEdge edge, double time);
}
}