Simplifies the creation of Unity Package Manager packages.
-
Option 1: via Package Manager, press the + button and select
Add package from git URL.., then pastehttps://github.com/vklubkov/UnityPackageCreator.git. Or use the formathttps://github.com/vklubkov/UnityPackageCreator.git#1.1.0to target a particular version. -
Option 2: clone or download this repository. Via Package Manager, press the + button and select
Add package from disk... Then target thepackage.jsonmanifest. -
Option 3: clone or download this repository and move the folder to
<your Unity project>/Packagesfolder.
- Embedded package is a package created in the
Packagesfolder of your project. Embedded package can be put under version control. - Assets folder package is created in the
Assetsfolder of your project. This can be used as a destination for package development. - Local package is put on your local drive outside your Unity project.
2. Fill the required fields:
Required tab displays the minimal amount that enable package creation.
Directory Nameis the name of the package directory, for newer version of Unity should be same as Package IDPackage Idis the package name in format<domain>.<author>.<package>e.g.,com.vklubkov.packagecreatorVersionis the package version in the format<major>.<minor>.<patch>e.g.,1.0.0
Create Package button becomes enabled after these three fields are filled.
3. Optionally, fill the recommended fields:
Display Nameis the package name displayed in Unity editor.Package Descriptionis the description of the package in a free form.Unity Versionis the minimal target version of Unity Editor without the Release version e.g.,2019.1and not2019.1.0f1.
The minimal package (only containing package.json manifest) is created.







