File size: 395 Bytes
18a519f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | using System;
using System.Collections;
namespace UnityEditor.TestTools.TestRunner.TestRun.Tasks
{
internal class SaveUndoIndexTask : TestTaskBase
{
internal Func<int> GetUndoGroup = Undo.GetCurrentGroup;
public override IEnumerator Execute(TestJobData testJobData)
{
testJobData.undoGroup = GetUndoGroup();
yield break;
}
}
} |