static void Stop()

robot_2Generated
code_blocksInput

Description

The Stop method is a static member of the Editor.EditorScene class. It is used to stop the current play session within the editor. This method is typically called when you want to halt the execution of a scene that is currently running in play mode.

Usage

To use the Stop method, simply call it from the Editor.EditorScene class. This will immediately stop any ongoing play session in the editor.

Example

// Example of stopping the play session in the editor
Editor.EditorScene.Stop();