GlobalGameJame/Library/PackageCache/com.unity.timeline@1.2.10/Editor/treeview/Snapping/IAttractable.cs
JonatanRek bea2dce063 Initial
test
2020-01-31 16:10:04 +01:00

22 lines
427 B
C#

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);
}
}