文档

Unity Engine

Unity Engine

isProcessing

Returns true if the editor is currently processing undo or redo operations, false otherwise.
阅读时间1 分钟最后更新于 1 天前

Definition

public static bool isProcessing { get; }

Remarks

Note: it is forbidden to call Undo.RegisterCreatedObjectUndo while this value is
true
.