Undo.GetCurrentGroup

Cambiar al Manual
public static int GetCurrentGroup ();

Descripción

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.