From 13fc501f05fd5bfdf769297df9879b273ac901a9 Mon Sep 17 00:00:00 2001 From: BLUELOVETH Date: Sat, 24 Jun 2023 02:41:18 +0800 Subject: [PATCH] Update vm.md --- docs/unity/vm.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/unity/vm.md b/docs/unity/vm.md index c7fe2fa6..7c0ad4e0 100644 --- a/docs/unity/vm.md +++ b/docs/unity/vm.md @@ -5,6 +5,11 @@ order: 20 --- 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 @@ -145,4 +150,4 @@ The `VM` class provides a sandboxed Python environment and a set of APIs for int + `bool debug = false` 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. \ No newline at end of file + You can set it to `true` to enable debug messages, or `false` to disable them.