Version: 2018.1

Undo.SetCurrentGroupName

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

Parameters

nameNew 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.