void FullUndoSnapshot( string title )

book_4_sparkGenerated
code_blocksInput

Description

The FullUndoSnapshot method in the Editor.SceneEditorSession class is marked as obsolete. This method was originally intended to create a full undo snapshot of the current scene with a specified title. However, manual full scene undo snapshots are no longer supported. Instead, it is recommended to use UndoScope or AddUndo for managing undo operations.

Usage

Since FullUndoSnapshot is obsolete, it is advised not to use this method in new code. Instead, consider using the UndoScope or AddUndo methods for handling undo operations in the scene editor session.

Example

// Example of using UndoScope instead of FullUndoSnapshot
using (var undo = sceneEditorSession.UndoScope("My Undo Operation"))
{
    // Perform operations that should be undoable
    // ...
}