Home

Awesome

unity-packman

A tiny package dependency manager for Unity, powered by Github

Why package manager for Unity?

I am working with many Unity projects, and most of them use somewhat shared packages.
but there was no clever way to support package dependencies for programmers yet. so I started this project.

with unity-packman, all package dependencies will be installed in Assets/Plugins/packman-pkgs folder.
you don't need to copy packages manually.

Requirements

Getting Started

In your project directory (parent of Unity Assets folder).

npm install -g unity-packman

Below command will create packman.json for your project.

unity-packman init

Then, now you can install dependency like this:

unity-packman install appetizermonster/Unity3D-Co

Extra Commands

unity-packman install
unity-packman remove appetizermonster/Unity3D-Co
unity-packman gitignore
unity-packman copyback appetizermonster/Unity3D-Co

Structure of packman.json

{
  "name": "Unity3D-Co",                           // Package Name
  "export": "Assets/Co",                          // Export Directory
  "dependencies": [
    "appetizermonster/Unity3D-RecompileDisabler"  // Package URI
  ]
}

Examples of Package URI

TODO

Example Packages

Contribution

Any contributions are welcome!, Please open an issue!

License

MIT