Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Undo.GetCurrentGroup

public static int GetCurrentGroup();

Description

Unity automatically groups undo operations by the current group index.

The current group index is automatically increased on mouse down, clicking on menu items and other operations.

See Also: Undo.RevertAllDownToGroup.

Did you find this page useful? Please give it a rating: