Undo.GetCurrentGroupName

Cambiar al Manual
public static string GetCurrentGroupName ();

Valor de retorno

string Name of the current group or an empty string if the current group is empty.

Descripción

Get the name that will be shown in the UI for the current undo group.

By default, this name is inferred from the actions in the group. To set the name manually, use Undo.SetCurrentGroupName.