Rasagar/Library/PackageCache/com.unity.timeline/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs
2024-08-26 23:07:20 +03:00

19 lines
498 B
C#

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