Skip to main content

Generate .unitypackage without Unity.

Project description

upackage

pypi travis

About

upackage is a python module for generating *.unitypackage from source assets without unity.

Install

pip install upackage

How to use

Given the following setup:

some/path/to/my/content/
some/path/to/my/content/code.dll
some/path/to/my/content/object.prefab
some/path/to/my/content/code.dll.mbd

The command will generate a package that installs the content of "some/path/to/my/content/" into "Assets/content/". It uses the last folder name in the path as the containing folder for the assets.

UPackage.preprocess_assets("some/path/to/my/content")
UPackage.generate_package("some/path/to/my/content", "output.unitypackage")

Command Line Access

The tool also supports CLI access:

upackage some/path/to/my/content output.unitypackage

MetaFiles

*.meta files will be generated if they do not exist for files & folders.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upackage-0.3.4.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

upackage-0.3.4-py2.py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page