Undo.isProcessing

public static bool isProcessing;

Description

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.


Did you find this page useful? Please give it a rating: