result | The state that the EditorAction was finished in. |
Callback raised when the EditorAction is finished.
This function is responsible for finalizing and cleaning up any state created by the EditorAction.
When the EditorActionResult is cancelled, remove any created artifacts from the scene. When the result is EditorActionResult.Success, clean up any temporary resources and commit the finalized objects to the scene.