文档

Unity Engine

Unity Engine

RevertAllInCurrentGroup()

Performs the last undo operation but does not record a redo operation.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void RevertAllInCurrentGroup()

Remarks

This is useful when you want to simply revert the last performed action. In Unity the escape is commonly used to execute this function.