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

18 lines
464 B
C#

using JetBrains.Annotations;
using UnityEngine;
using UnityEngine.Timeline;
using MarkerAction = UnityEditor.Timeline.ItemAction<UnityEngine.Timeline.IMarker>;
namespace UnityEditor.Timeline
{
[UsedImplicitly]
class CopyMarkersToClipboard : MarkerAction
{
public override bool Execute(WindowState state, IMarker[] markers)
{
TimelineEditor.clipboard.CopyItems(markers.ToItems());
return true;
}
}
}