Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Controls the editor’s isolated game-simulation session.

API: scripting
Project: Inno.Editor.PlayMode
Scope: Editor

public interface InnoEditor.PlayMode.IEditorPlayMode
Kind Element Description
Methods IEditorPlayMode.EnterPlayMode Requests entry after the active script generation becomes ready.
Methods IEditorPlayMode.ExitPlayMode Requests disposal of the active runtime session or dismisses a failed transition.
Methods IEditorPlayMode.ListenStateChanges Subscribes to committed state transitions through the Core event lifetime.
Properties IEditorPlayMode.activeSessionId Gets the active isolated runtime log session, or P:InnoEngine.Logging.LogSessionId.none outside a Play Mode request.
Properties IEditorPlayMode.isPlaying Gets whether isolated runtime scenes are actively simulating.
Properties IEditorPlayMode.lastFailure Gets the most recent transition or simulation failure, or null when no failure is active.
Properties IEditorPlayMode.state Gets the current Play Mode transition state.