ドキュメント

Unity Engine

Unity Engine

GetCurrentGroupName()

Get the name that will be shown in the UI for the current undo group.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static string GetCurrentGroupName()

Returns

Type

Description

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

Remarks

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