Version: 2023.1

Undo.isProcessing

切换到手册
public static bool isProcessing ;

描述

Returns true if the editor is currently processing undo or redo operations, false otherwise.

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