Skip to content

An Editor for PyUnity in the style of the UnityEditor

License

Notifications You must be signed in to change notification settings

pyunity/pyunity-gui

Repository files navigation

PyUnity Editor

License PyPI version Python version Language grade: Python Total alerts Discord Gitter GitHub Repo stars

This is a pure Python editor to make PyUnity projects. PyUnity is a pure Python Game Engine that is only inspired by Unity and does not contain or is not a binding for Unity itself. Therefore, PyUnity Editor is also completely seperate from UnityEditor.

Installing

The PyPi package does not work with the latest releases of PyUnity, and as such the best way to use this editor is to clone this editor and regularly run git pull to update. From the repo, running python -m pyunity_editor ProjectPath/ will work. To create a new project, run python -m pyunity_editor --new ProjectPath/. Note that this editor also relies on the develop branch of PyUnity, which can be fetched with install.py. Run this periodically in case of any errors.

A full run would look something like this:

git clone https://github.com/pyunity/pyunity-gui/
cd pyunity-gui/
python install.py
python -m pip install -r requirements.txt
python -m pyunity_editor --new ProjectPath/

Contributing

If you would like to contribute, please first see the contributing guidelines, check out the latest issues and then make a pull request.