Update vm.md

This commit is contained in:
BLUELOVETH 2023-06-24 02:41:18 +08:00 committed by GitHub
parent 970b66f228
commit 13fc501f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,11 @@ order: 20
--- ---
The `VM` class provides a sandboxed Python environment and a set of APIs for interacting with it. The `VM` class provides a sandboxed Python environment and a set of APIs for interacting with it.
Using the namespace `PocketPython` before any operations.
```csharp
using PocketPython;
```
### Construction ### Construction
@ -145,4 +150,4 @@ The `VM` class provides a sandboxed Python environment and a set of APIs for int
+ `bool debug = false` + `bool debug = false`
A flag that controls whether to print debug messages to Unity console. A flag that controls whether to print debug messages to Unity console.
You can set it to `true` to enable debug messages, or `false` to disable them. You can set it to `true` to enable debug messages, or `false` to disable them.