GlobalGameJame/Library/PackageCache/com.unity.timeline@1.2.10/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs

19 lines
498 B
C#
Raw Normal View History

2020-01-31 15:10:04 +00:00
using System.Collections.Generic;
namespace UnityEditor.Timeline
{
class AddDeleteItemModeReplace : IAddDeleteItemMode
{
public void InsertItemsAtTime(IEnumerable<ItemsPerTrack> itemsGroups, double requestedTime)
{
ItemsUtils.SetItemsStartTime(itemsGroups, requestedTime);
EditModeReplaceUtils.Insert(itemsGroups);
}
public void RemoveItems(IEnumerable<ItemsPerTrack> itemsGroups)
{
// Nothing
}
}
}