Synced
IEditorPlayMode
Section titled “IEditorPlayMode”
- Controls the editor’s isolated game-simulation session.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.PlayMode
Scope: Editor
Declaration
Section titled “Declaration”public interface InnoEditor.PlayMode.IEditorPlayModeMembers
Section titled “Members”| 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. |