【更新】UPython 3 Pro 1.1.1
Tired of using Python scripts in Unity? UPython 3 Pro may be able to achieve what you need.
UPython 3 Pro is an out-of-the-box tool as long as you have configured the Python environment.
Not compatible with UPython 2 (Pro).
UPython 3 Pro redesigns the underlying logic of the Unity component and Python server. A highly integrated and optimized design makes it easier for developers to use or extend remote Python calls.
Just start one Python server, and it will provide all the functionality.
Unity and Python Server could run on the same PC or run on different PCs that the PCs should stay within the same local network (e.g., connect to the same wifi)
Features
-All UPython 2 Pro users can free upgrade to UPython 3 Pro.
- Included all the py server scripts.
- Source code included.
- Easy to use; Zero learning cost.
- Callback event supports.
- Async call supports.
-3 basic calls:
- (P) Call preset Python script on the Python Server and send the result to Unity.
- (UTP) Big file transfer (<4MBs? could be >4MBs) from Unity to Python Server.
- (PTU) Big file transfer (<4MBs? could be >4MBs) from Python Server to Unity.
-1 composite call:
- (UTP, P) Write Python script in Unity C#, run it on the Python Server directly, and get the result from the Python Server.
- Run in both Play and Editor modes.
- Custom connection life cycle:
- The default life cycle of each connection is one Python Call. It automatically manages all connections without manual management.
- Custom connection lifecycle can support multiple Python Calls until manually closed. Suitable for those order-sensitive Python calls.
- Custom Python dedicated server.
- Extensible Python script calling order.
- No 3rd party tool is required!
Credits to our community contributors:
- Krasimir Karaneychev
The new python server “server_krasimir.py“ can handle the special character and works well with GPT models.
厌倦了在 Unity 中使用 Python 脚本?UPython 3 Pro 或许能满足你的需求。
只要配置好 Python 环境,UPython 3 Pro 就是一款开箱即用的工具。
与 UPython 2 (Pro) 不兼容。
UPython 3 Pro 重新设计了 Unity 组件和 Python 服务器的底层逻辑。高度集成和优化的设计使开发人员更容易使用或扩展远程 Python 调用。
只需启动一个 Python 服务器,它就能提供所有功能。
Unity 和 Python 服务器可以运行在同一台电脑上,也可以运行在不同的电脑上,但这两台电脑应在同一个本地网络中(例如,连接到同一个无线网络)。
功能
- 所有 UPython 2 Pro 用户均可免费升级至 UPython 3 Pro。
- 包含所有 py 服务器脚本。
- 包含源代码。
- 易于使用;零学习成本。
- 支持回调事件
- 支持异步调用。
- 3 种基本调用:
- (P) 调用 Python 服务器上的预设 Python 脚本,并将结果发送到 Unity。
- UTP)从 Unity 向 Python 服务器传输大文件(<4MB?
- (PTU) 从 Python 服务器向 Unity 传输大文件(<4MB?
- 1 次复合调用:
- (UTP, P) 在 Unity C# 中编写 Python 脚本,直接在 Python 服务器上运行,并从 Python 服务器获取结果。
- 可在 “播放 ”和 “编辑器 ”两种模式下运行。
- 自定义连接生命周期:
- 每个连接的默认生命周期为一次 Python 调用。它能自动管理所有连接,无需手动管理。
- 自定义连接
页:
[1]