Exit Play Mode and return to Edit Mode.
(ctx: typer.Context)
| 88 | |
| 89 | @app.command() |
| 90 | def stop(ctx: typer.Context) -> None: |
| 91 | """Exit Play Mode and return to Edit Mode.""" |
| 92 | context: CLIContext = ctx.obj |
| 93 | try: |
| 94 | context.client.editor.stop() |
| 95 | print_success("Exited play mode") |
| 96 | except UnityCLIError as e: |
| 97 | _handle_error(e) |
| 98 | |
| 99 | @app.command() |
| 100 | def pause(ctx: typer.Context) -> None: |
nothing calls this directly
no test coverage detected