In order to install this package via Unitys Package Manager select "Add package from git URL" and enter https://github.com/NonatomicTeam/AssemblyTemplate.git?path=Packages/com.nonatomic.assembly-template
This started out as a little project to simplify and speed up the process of creating a new assembly within the Unity Editor as they follow as pretty consistent pattern.
To achieve this I built a simple process of digesting json files to produce file structures in Unity. This process it seems has further application in the generation of any commonly used file structure like that of creating new packages, so I've expanded the project to automate the generation of a new packages file structure and required files.
To create a new assembly right click in the project window and select Create > Assembly Structure
.
Complete the form in the Assembly Template window and select Generate
to create a new folder within the selected directory named and populated with the details you enter in the Assembly Template window.
The produced file structure is inclusive of all the typical files you would expect to see in a new assembly including all assembly definition files.
Should you wish to customise this file structure you can do so by duplicating the BasicAssemblyTemplate.json file and editing it to your liking. You can then set the Template Path
field of the Assembly Template window to point to your new json template.
To create a new package right click in the project window and select Create > New Package
.
Complete the form in the Package Template window and select Generate
to create a new package within the packages directory named and populated with the details you enter in the Package Template window.
Should you wish to customise this file structure you can do so by duplicating the NewPackageTemplate.json file and editing it to your liking. You can then set the Template Path
field of the Package Template window to point to your new json template.
manifest.jsonmanifest.json