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

19 lines
526 B
C#

using System.Collections.Generic;
namespace UnityEditor.Timeline
{
class AddDeleteItemModeRipple : IAddDeleteItemMode
{
public void InsertItemsAtTime(IEnumerable<ItemsPerTrack> itemsGroups, double requestedTime)
{
ItemsUtils.SetItemsStartTime(itemsGroups, requestedTime);
EditModeRippleUtils.Insert(itemsGroups);
}
public void RemoveItems(IEnumerable<ItemsPerTrack> itemsGroups)
{
EditModeRippleUtils.Remove(itemsGroups);
}
}
}