The Editor.EditorUtility.Quit
method is a static method used to terminate the entire engine. This method is part of the Editor.EditorUtility
class, which provides various utility functions for the editor environment.
The Editor.EditorUtility.Quit
method is a static method used to terminate the entire engine. This method is part of the Editor.EditorUtility
class, which provides various utility functions for the editor environment.
To use the Quit
method, simply call it from the Editor.EditorUtility
class. This method does not take any parameters and does not return any value. It is a straightforward way to exit the engine when necessary.
// Example of using the Quit method Editor.EditorUtility.Quit(); // This will terminate the engine immediately. Use with caution.