()
| 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 | { |
no outgoing calls