Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Undo.RevertAllDownToGroup

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static function RevertAllDownToGroup(group: int): void;
public static void RevertAllDownToGroup(int group);

Parameters

group The number of the index to merge down to.

Description

Performs all undo operations up to the group index.

Performs all undo operations up to the group index without storing a redo operation in the process.

See Also: Undo.GetCurrentGroup.