diff --git a/README.md b/README.md index 077150a6..043b6f12 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ Please see https://pocketpy.dev for details or try [Live Demo](https://pocketpy. Download the `pocketpy.h` on our [GitHub Release](https://github.com/blueloveTH/pocketpy/releases) page. And `#include` it in your project. +If you are working with [Unity Engine](https://unity.com/), you can download our plugin [PocketPython](https://assetstore.unity.com/packages/tools/visual-scripting/pocketpy-241120) on the Asset Store. + ### Compile flags To compile it with your project, these flags must be set: diff --git a/README_zh.md b/README_zh.md index e7398e66..811146b4 100644 --- a/README_zh.md +++ b/README_zh.md @@ -21,6 +21,8 @@ pocketpy是一个轻量级的Python解释器,为嵌入至游戏引擎而设计 你可以在 [Github Release](https://github.com/blueloveTH/pocketpy/releases) 页面下载`pocketpy.h`, 并加入到你的工程中。请参阅 https://pocketpy.dev 以获取更详细的文档。 +如果你使用 [Unity引擎](https://unity.com/),你可以在Asset Store下载我们的插件 [PocketPython](https://assetstore.unity.com/packages/tools/visual-scripting/pocketpy-241120)。 + ```cpp #include "pocketpy.h" diff --git a/docs/index.md b/docs/index.md index 275a200f..516d834d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -26,6 +26,10 @@ print(primes) # [2, 3, 5, 7, 11, 13, 17, 19] ``` +## Unity plugin + +If you are working with [Unity Engine](https://unity.com/), you can download our plugin [PocketPython](https://assetstore.unity.com/packages/tools/visual-scripting/pocketpy-241120) on the Asset Store. + ## Sponsor me You can sponsor me via [Github Sponsors](https://github.com/sponsors/blueloveTH). diff --git a/docs/unity/examples.md b/docs/unity/examples.md index d74d7e4d..1e0a1312 100644 --- a/docs/unity/examples.md +++ b/docs/unity/examples.md @@ -7,8 +7,7 @@ order: 4 See `Assets/PocketPython/Examples` after you import the plugin. - -## Primes Example +### Primes Example ```csharp using UnityEngine;