MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / stop

Function stop

unity_cli/cli/commands/editor_control.py:90–97  ·  view source on GitHub ↗

Exit Play Mode and return to Edit Mode.

(ctx: typer.Context)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 3

print_successFunction · 0.90
_handle_errorFunction · 0.90
stopMethod · 0.45

Tested by

no test coverage detected