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

23 lines
484 B
C#

using System.Collections.Generic;
namespace UnityEditor.Timeline
{
struct Edge
{
public double time { get; set; }
public bool showSnapHint { get; set; }
public Edge(double edgeTime, bool snapHint = true) : this()
{
time = edgeTime;
showSnapHint = snapHint;
}
}
interface ISnappable
{
IEnumerable<Edge> SnappableEdgesFor(IAttractable attractable, ManipulateEdges manipulateEdges);
}
}