Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Package development

Develop your package by supplying the required and recommended components.
Read time 1 minuteLast updated 14 days ago

Create your own Unity Package Manager (UPM) package to extend the functionality of the Unity Editor.
You can use packages that you create for one of your projects or for multiple projects. You can also share your package with others in your organization or studio so they can use it in any project. You can even distribute your package through official channels, for the wider community to use.

Topic

Description

Package development workflowUnderstand the development workflow for creating new UPM packages.
Package structureCreate the package layout and mandatory elements through the Package Manager window.
Add code to your packageStructure the assets and code that make up your package.
Create or edit the assembly definitionsConfigure assembly definitions so the Editor compiles package scripts as separate assemblies.
Package manifestDefine the metadata the Editor uses to identify, load, and manage your package.
Create samples for your packageInclude optional samples that help users learn the package and import example content.
Add tests to your packageVerify behavior with tests during development.
Package versioningApply semantic versioning so version numbers reflect compatible and breaking changes.
Update the package changelogUse a changelog to summarize each release of your package.
Add required legal files to your packageSupply licensing and attribution when distribution requires it.
Document your packageCreate documentation that helps users get the most out of your package.
Export and sign your UPM packageExport and sign your package so you can share it with others.
Share your packageLearn the different ways you can share your UPM package when it's ready for consumption.

Additional resources