From 9ed48bd6a9d12d29280cce29253764a7a5d3ffa2 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Thu, 22 Jun 2023 03:14:39 +0800 Subject: [PATCH] ... --- docs/unity/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/unity/index.md b/docs/unity/index.md index 52d6639e..25706280 100644 --- a/docs/unity/index.md +++ b/docs/unity/index.md @@ -133,10 +133,11 @@ The `VM` class provides a sandboxed Python environment and a set of APIs for int A callback that will be called when the Python code invokes `print` function. By default, it will print the message to Unity console. -+ `System.Action stderr = Debug.LogError` ++ `System.Action stderr = null` A callback that will be called when the Python code emits an error message. - By default, it will print the exception message to Unity console. + By default, an Exception will be raised. + You can set it to `Debug.LogError` for printing to the Unity Console. ### Debug Flag