Two Cats Code | Online Documentation | Discord | Unity Asset-Store
Please always refer to the online documentation for up-to-date news.
UPython is a lightweight, flexible, and extensible Unity ↔ Python communication framework designed for rapid development, AI integration, and cross-platform deployment.
UPython 是一个轻量级、灵活且高度可扩展的 Unity ↔ Python 通信框架,专为快速开发、AI 集成与跨平台部署设计。
# May need to install the package below to run the example.
pip install flask scikit-learn joblib
# Or any other package you missed.
UPython enables real-time bidirectional communication between Unity and a Python server. It supports both local and remote connections. Developers can execute Python scripts, call remote functions, and send structured messages using JSON.
UPython 支持 Unity 与 Python 服务器之间的实时双向通信,适用于本地或远程部署。开发者可以从 Unity 执行 Python 脚本、远程调用函数,或使用 JSON 结构传递自定义消息。