Skip to content

nicholas-maltbie/TemplateUnityPackage

Repository files navigation

Template Unity Package

Nick Maltbie's Template Unity Package for easily creating and sharing unity packages over git and NPM.

Example importing package from git.

If you want to host and share code between unity projects easily, use this project to configure unity builds.

Template Unity Package is an open source project hosted at https://github.com/nicholas-maltbie/TemplateUnityPackage

This is an open source project licensed under a MIT License.

Development

This project is developed using Unity Release 2021.3.11f1. Install this version of Unity from Unity Hub using this link: unityhub://2021.3.11f1/0a5ca18544bf.

Template Components

Parts of template project, please see the documentation at Template Unity Package Introduction for more details on how to use the project.

  1. Automated script to rename all scripts in project.
  2. Template setup for a unity package.
  3. Script to build package release to git branch.
  4. Git/GitHub configuration for project
  5. Automated GitHub actions.

Documentation

Documentation on the project and scripting API is found at https://nickmaltbie.com/TemplateUnityPackage/docs/ for the latest version of the codebase.

Demo

You can see a demo of the project running here: https://nickmaltbie.com/TemplateUnityPackage/. The project hosted on the website is up to date with the most recent version on the main branch of this github repo and is automatically deployed with each update to the codebase.

Samples

The samples in the project include:

  • ExampleSample - Example sample for Template Unity Package.