public void AddInstructions(IList<InstructionList> listToAdd, string name) { KeyframeListSave keyframes = new KeyframeListSave(); foreach (InstructionList instructionList in listToAdd) { keyframes.AddList(instructionList); } keyframes.Name = name; Instructions.Add(keyframes); }
public void AddInstructions(IList <InstructionList> listToAdd, string name) { KeyframeListSave keyframes = new KeyframeListSave(); foreach (InstructionList instructionList in listToAdd) { keyframes.AddList(instructionList); } keyframes.Name = name; Instructions.Add(keyframes); }