UnityGame/Library/PackageCache/com.unity.timeline/Editor/treeview/Snapping/IAttractable.cs

22 lines
427 B
C#
Raw Permalink Normal View History

2024-10-27 10:53:47 +03: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);
}
}