Version: 2017.3

Undo.SetCurrentGroupName

Switch to Manual
public static void SetCurrentGroupName (string name);

Parameters

name New name of the current undo group.

Description

Set the name of the current undo group.

Setting a name manually will override an implicitly generated name for the group.

See Also: Undo.GetCurrentGroupName.