static void Play()
static void Play( string playmode )

robot_2Generated
code_blocksInput

Description

The Play method in the Editor.EditorScene class is a static method that initiates the play mode in the editor. This method is used to start the simulation of the current scene, allowing developers to test and interact with their game environment directly within the editor.

Usage

To use the Play method, simply call it from the Editor.EditorScene class. This will start the play mode for the current scene in the editor.

Example

// Start play mode in the editor
Editor.EditorScene.Play();