class
PlayInEditor
Handles functionality specific to running the game in editor.
Public
Constructors
PlayInEditor
Methods
SetState
Updates the play state of the game, making the game stop or start running.
Note the actual state change will be delayed until the next update() call. Use the onPlay/onStopped/onPaused/onUnpaused event to get notified when the change actually happens.
GetScene
Returns the scene that will be played when entering PIE.
FrameStep
Runs the game for a single frame and then pauses it.
staticCreate
Creates a new play in editor object associated with the provided scene instance.
Fields
Internal
Methods
Update
Called once per frame.
Private
Methods
SetStateImmediate
Updates the play state of the game, making the game stop or start running.
Unlike setState() this will trigger the state change right away.
SaveSceneInMemory
Saves the current state of the scene in memory.
SetSystemsPauseState
Pauses or unpauses all pausable engine systems.