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

Method Exit

UnityBridge/Editor/Tools/Playmode.cs:62–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 }
61
62 private static JObject Exit()
63 {
64 if (!EditorApplication.isPlaying)
65 {
66 return new JObject
67 {
68 ["message"] = "Not in play mode"
69 };
70 }
71
72 EditorApplication.isPlaying = false;
73
74 return new JObject
75 {
76 ["message"] = "Play mode stopped"
77 };
78 }
79
80 private static JObject Pause()
81 {

Callers 15

_handle_errorFunction · 0.80
_exit_usageFunction · 0.80
config_initFunction · 0.80
recorder_startFunction · 0.80
snapshot_diffFunction · 0.80
_poll_test_resultsFunction · 0.80
tests_runFunction · 0.80
build_runFunction · 0.80
project_packagesFunction · 0.80
project_tagsFunction · 0.80
project_qualityFunction · 0.80
project_assembliesFunction · 0.80

Calls

no outgoing calls

Tested by 2

_poll_test_resultsFunction · 0.64
tests_runFunction · 0.64