Install via UPM

Add to Unity Package Manager using this URL

https://www.pkglnk.dev/track/assembly-template.git?path=Packages/com.nonatomic.assembly-template

README

*********

DEPRECATED - Use the new ScaffoldKit instead

*********

Installation

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

Project Background

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.

Assembly Template

To create a new assembly right click in the project window and select Create > Assembly Structure.

aLDUPw13gG

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.

Unity_1V9hVQNZR3

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.

Package Template

To create a new package right click in the project window and select Create > New Package.

Unity_1Fp6aI0jh4

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.

Unity_d8S6UpjXF5

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

Total Installs
0
Last 30 days
Unique IPs
0
Approximate users

Installs Over Time

Operating Systems

No data yet

Top Countries

GB 3

Git Versions

2.50.1 3

Embed Install Badge

Add an install count badge to your README

Style
Preview
pkglnk installs badge
Markdown
[![pkglnk installs](https://www.pkglnk.dev/badge/assembly-template.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/assembly-template)
HTML
<a href="https://www.pkglnk.dev/pkg/assembly-template"><img src="https://www.pkglnk.dev/badge/assembly-template.svg?style=pkglnk" alt="pkglnk installs"></a>

Comments

No comments yet. Be the first!