Просмотр исходного кода

Merge branch 'main' of https://github.com/blueloveTH/pocketpy

blueloveTH 2 лет назад
Родитель
Сommit
61ad9838e3
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      docs/unity/vm.md

+ 6 - 1
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.
+    You can set it to `true` to enable debug messages, or `false` to disable them.